Hi, for your information, if you are still using myHouse, I've completely re-designed- re-architect it also giving it a new name (eGeoffrey). The basic principles are the same, the software is still open source but now is supposed to be way simpler to configure, use, customize and extend. If you want to give it a look, check out https://www.egeoffrey.com. I've also put together a migration utility to help along to way in case you want to move into the new platform but keeping the old configuration:...
Hi, for your information, if you are still using myHouse, I've completely re-designed- re-architect it also giving it a new name (eGeoffrey). The basic principles are the same, the software is still open source but now is supposed to be way simpler to configure, use, customize and extend. If you want to give it a look, check out https://www.egeoffrey.com. I've also put together a migration utility to help along to way in case you want to move into the new platform but keeping the old configuration:...
Hi, for your information, if you are still using myHouse, I've completely re-designed- re-architect it also giving it a new name (eGeoffrey). The basic principles are the same, the software is still open source but now is supposed to be way simpler to configure, use, customize and extend. If you want to give it a look, check out https://www.egeoffrey.com. I've also put together a migration utility to help along to way in case you want to move into the new platform but keeping the old configuration:...
Hi, for your information, if you are still using myHouse, I've completely re-designed- re-architect it also giving it a new name (eGeoffrey). The basic principles are the same, the software is still open source but now is supposed to be way simpler to configure, use, customize and extend. If you want to give it a look, check out https://www.egeoffrey.com. I've also put together a migration utility to help along to way in case you want to move into the new platform but keeping the old configuration:...
Hi, for your information, if you are still using myHouse, I've completely re-designed- re-architect it also giving it a new name (eGeoffrey). The basic principles are the same, the software is still open source but now is supposed to be way simpler to configure, use, customize and extend. If you want to give it a look, check out https://www.egeoffrey.com. I've also put together a migration utility to help along to way in case you want to move into the new platform but keeping the old configuration:...
Hi, for your information, if you are still using myHouse, I've completely re-designed- re-architect it also giving it a new name (eGeoffrey). The basic principles are the same, the software is still open source but now is supposed to be way simpler to configure, use, customize and extend. If you want to give it a look, check out https://www.egeoffrey.com. I've also put together a migration utility to help along to way in case you want to move into the new platform but keeping the old configuration:...
Hi, for your information, if you are still using myHouse, I've completely re-designed- re-architect it also giving it a new name (eGeoffrey). The basic principles are the same, the software is still open source but now is supposed to be way simpler to configure, use, customize and extend. If you want to give it a look, check out https://www.egeoffrey.com. I've also put together a migration utility to help along to way in case you want to move into the new platform but keeping the old configuration:...
Let's be honest, myHouse has been a nice starting point but difficult to customize, maintain and evolve. For these and many other reasons, I've completely re-designed- re-architect myHouse also giving it a new name (eGeoffrey). The basic principles are the same, the software is still open source but now is supposed to be way simpler to configure (entirely via the web interface), use, customize and extend. If you want to give it a look, check out https://www.egeoffrey.com (still under testing at this...
my proposal for rtl_433 plugin. if 2 or more frequencies are used, wait on one frequency until it receives information from the sensor, then proceed to the next preset frequency
14 hours running without stopping, for now it works well and with the change of frequency
Thansk, I was able to reproduce the issue. Since I'm moving the entire project over GitHub, this ticket has been migrated to https://github.com/myhouse-project/myHouse/issues/237 Feel free to have a look and if needed reply directly there. Thanks!
rtl_433 output {"time" : "2019-01-02 19:21:27", "model" : "Prologue sensor", "id" : 5, "rid" : 110, "channel" : 2, "battery" : "OK", "button" : 0, "temperature_C" : 2.900, "humidity" : 65} {"time" : "2019-01-02 19:21:27", "model" : "Oregon Scientific SL109H", "id" : 65, "channel" : 1, "temperature_C" : -179.100, "humidity" : 74, "status" : 13, "mic" : "CHECKSUM"} Tuned to 433750000 Hz. Tuned to 433990000 Hz. {"time" : "2019-01-02 19:22:37", "model" : "Prologue sensor", "id" : 5, "rid" : 110, "channel"...
{"time" : "2019-01-02 19:21:27", "model" : "Prologue sensor", "id" : 5, "rid" : 110, "channel" : 2, "battery" : "OK", "button" : 0, "temperature_C" : 2.900, "humidity" : 65} {"time" : "2019-01-02 19:21:27", "model" : "Oregon Scientific SL109H", "id" : 65, "channel" : 1, "temperature_C" : -179.100, "humidity" : 74, "status" : 13, "mic" : "CHECKSUM"} Tuned to 433750000 Hz. Tuned to 433990000 Hz. {"time" : "2019-01-02 19:22:37", "model" : "Prologue sensor", "id" : 5, "rid" : 110, "channel" : 2, "battery"...
Would you mind sharing a sample of your rtl_433 output (run it with rtl_433 -F json -U) and the "plugin" section of your configured sensor? I think it is expecting a json and getting something else. Of course this is a bug on our side since myhouse has to handle to error gracefully and not dying... thanks!
with version rtl_433 18.05 runs but for some reason it stops. in "json" search for the model and the channel. also if it requires "id" stops working or does not start at all if I restart raspberry pi or reinstall install.py will continue to run
with version rtl_433 18.05 runs but for some reason it stops. in "json" search for the model and the channel. also if it requires "id" stops working or does not start at all
Add alternative path for custom static images
#233 Slack and audio output cannot be disabled
Fixed schema, upgraded FontAwasome, images now in format module:group:sensor_value
Minor fixes
every day the rtl_433 script stops working
every day the rtl_433 script stops working
Hi, which version of rtl_433 are you running? I hope this https://sourceforge.net/p/my-house/forum/general/thread/a40ec9d764/?limit=25#830b is going to help fixing this issue as wel
Queue notifications when offline
every day the rtl_433 script stops working
Highest priority is for sure making myHouse as it is usable and consistent. Unfortunately looks like the new releases of a few of the 3rd party libraries and software myHouse is leveraging are not backward compatible (APScheduler, rtl433, etc.) causing installation issues. Having so many dependencies all in sync is becoming more and more challenging and this is why I'm thinking of releasing a v2.4.1 with very few additions but capable of running on Docker. In this way the containerized application...
the new version of rtl_433 v18.12 does not work with the plugin rtl_433
Thanks, adding to the new release queue which I should probably hurry up to fix a set of those compatibility issues
the new version of rtl_433 v18.12 does not work with the plugin rtl_433
I think it would be useful to have plugin for flux_led. thank you for the accepted suggestion
Add support for FLUX_LED
Thanks for the suggestion. Not ideal but if you don't want to wait, I think you can work around it with plugin_command invoking a script which controls the flux led.
FLUX_LED
please add plugin for flux_led
Google text to speech not working
Add support for cloud installation
Slack and audio output cannot be disabled
#221 Increase the number of allowed formats and provide a way to add custom formats
Thanks for reporting this workaround! For sure this will be the first issue to fix as the development of the new release of myHouse will start
Temporary workaround is: sudo service myhouse stop sudo pip install APScheduler==3.4.0 sudo service myhouse start
Hello Skibbie, I was able to reproduce your issue which is different than the one previously discussed. The problem is with the python library apscheduler; the new version completely changed the input parameters requiring a pretty massive code change on the MyHouse side :-( I was already tracking this with https://sourceforge.net/p/my-house/tickets/230/. I wonder if there is any way to downgrade apscheduler to a previous version, at least to have myHouse running before a fix will be made available....
Additional reference: https://sourceforge.net/p/my-house/forum/general/thread/81afa5f2/?limit=25#fd09
Hi, I have a similar issue. I got following error code, when trying to start myHouse.py manually. When setting sensors enabled to false, then webserver starts. But without sensors it makes no sense to use. :-( sudo python myHouse.py [2018-04-03 19:41:12] [backup.py:33 - schedule_all()] INFO: Scheduling backup job db_local_backup [2018-04-03 19:41:12] [sensors.py:346 - schedule_all()] INFO: setting up all the configured sensors Traceback (most recent call last): File "myHouse.py", line 49, in <module>...
Hi p versteeg, I was finally able to run a test with a vanilla raspbian lite on a Raspberry Pi Zero W and despite a few issues (#230, #231, #232) I was not able to reproduce your issue. I'd reccomend to run the install.py script once again, ensure there is no myHouse running as a service and then running the myHouse.py script manually. Let me know how it goes. Thanks!
Installation script does not check if pip exists before listing all the packages
Adafruit_Python_DHT and SpeechRecognition cannot be installed
APScheduler error
Hi, please be aware when installing myHouse on a Raspberry Pi Zero, the Adafruit-Python-DHT installation via pip would fail. The workaround is to download the package from https://github.com/adafruit/Adafruit_Python_DHT and install it manually with sudo python setup.py install --force-pi Thanks
Hello Rasto, interestesting you didnt' get any error while running the install.py script during installation. Please, ensure opencv has been installed (dpkg -l|grep python-opencv), this is causing the error reported above. I wonder if p versteeg experienced the same error or if something different. Thanks
Hello, any news about this problem? I have simillar problem. I tried suggestion wrote on this forum but nothing help. i am using raspbian stretch. When i run sudo python config.py i don't get any error , but when i run sudo python webserver.py i get this error: Traceback (most recent call last): File "webserver.py", line 16, in <module> import alerter File "/home/pi/myHouse/alerter.py", line 21, in <module> import image_utils File "/home/pi/myHouse/image_utils.py", line 3, in <module> import cv2...
Hello, any news about this problem? I have simillar problem. I tried suggestion wrote on this formu but nothing help. i am using raspbian stretch. When i run sudo python config.py i don't get any error , but when i run when i run sudo python webserver.py i get this error: Traceback (most recent call last): File "webserver.py", line 16, in <module> import alerter File "/home/pi/myHouse/alerter.py", line 21, in <module> import image_utils File "/home/pi/myHouse/image_utils.py", line 3, in <module>...
Hi, thanks for your post. May you please attach the full exception from the logs and the relevant sensors from your config.json so I'll try to reproduce the issue? Thanks!
I have created a mysensor network through a serial controller. I am running on a Raspberry pi. Simple temperature sensors work very well. completely happy. However I am now trying to attach a battery powered pulse counter for my power meter. This sensor requests the last pulse count from the controller database after a power failure so that it does not lose any data. I have set up a sensor in config.json and a rule to respond to a request. The sensor command type is REQ and V_VAR1. However I hit...
ok, looks like the webserver is not listening on port 80 as it should be. Do not run webserver.py manually when the service is running otherwise it will not start, just for your information. Did you run the netstat command while the service was supposed to be running? If so it means for some reason the webserver is not starting at all. Unfortunately I was not able to reproduce the issue in my test environment and I have to wait for another pi to be delivered so to reproduce your configuration :-/...
Hi thanks for the reply. It was me restarting the service by running python webserver.py (manually). When i run netstat -tunap|grep 80|grep LIST i get; tcp 0 0 0.0.0.0:22 0.0.0.0: LISTEN 580/sshd tcp 6 0 0 : : :22 ::: LISTEN 580/sshd don't know what that means.
Hi, welcome to the forum! Weird, it is like the webserver is constantly restarting from what I see from the logs. Was it you restarting the service or was the service itself trying to restart? I wonder if there is something already running on port 80 which is preventing the webserver to start, does a netstat -tunap|grep 80|grep LIST shows something strange ? I also wonder if there is anything in the latest raspbian which is preventing myHouse to run (updated libraries etc.) but I need another pi...
Hi Guys, Since last september i got the itch and enthusiasm to self-study on the world of IOT. Starting with a lot of reading, google-ing and experimenting with raspberry pi, arduino, domoticz and a lot of chinese sensors and control boards, i came across this project-site myhouse. This looks great and i thought i would like to something with it. So I have downloaded the application and opied the files to the PI (with a fresh rasbian jessy img) in the /home/pi/myHouse folder and run the installer....
Thanks very much. I can see from your example, that I had the rules set up fairly closely to what is required. Need the sensors setup for the calendar, and status(s). I will give this another whirl.
Hi, sorry for the huge delay. Probably the simplest solution would be a single calendar and the value set is a number/name associated with each Xmas LED. So you can set e.g. "1" from 5am to 5pm and have a couple of rules which are turning on or off the string. The rule, to turn led 1 on would be something like the following, which checks every minute when there is a "1" in the calendar and, if not already turned on, turns on the led and set the status to on as well to avoid repeating the same action...
Just to clarify: I currently have 3 strings of Xmas LEDs, each on an independant mySensors circuit, each of which I can independantly control ON-OFF through myHouse dashboard widgets. What I am unable to grasp, is how to develope, and incorporate, an independant cycle timer for each string, to turn ON or OFF at specific times, 7am & 5pm for one string, and 8am & 7pm for another string, for example. As I said above, I stuck in some clock & calendar widgets, but couldn't bring them together in a working...
Hi, welcome back! Just to be sure I've understood correctly, you want the lights within the given timeframe to randomly turn on and off (e.g. 7.05-7.15 on, 7.15-7.45 off, etc.) while stay off elsewhere. Is it correct? Thanks
After a long hiatus, I have come back to myHouse as a home automation base. I would appreciate some assistance in forming a sensor and appropriate rules for turning lights on and off, both randomly & on regular cycle basis, eg: on at 7am, off at 6 pm. I would also like to establish the activation times from a widget in the dashboard rather than hardcode the values. Is this do able within myHouse? I have a simplistic myHouse / mySensors setup from which I can manually activate and deactivate lights...
Hi Mark, it is me the one to say thanks to you: your patience, great advice and costructive feedbacks helped dramatically to make myHouse a better product :-) I understand the current limitations do not allow you to get what you need, I really hope for the future to be able to cover 100% those requirements and have you back :-) Thanks again and all the best! D.
user2684 i just wanted to thank you for your hard work on this. But as i already mentioned i ended up using 2 controllers just to get what i wanted on the screen (Energy/Gas meters and realtime feedback of binary sensors etc) so in the end i have dropped the whole project but i just needed to thank you for your help in the beginning. I could not find any one single controller to suit my own needs. So for now the whole myHouse automation and feedback ideas have been shelved. Regards Mark
Thanks for the swift reaction. I will start working with it. I will report back any results. Ellard
Hi, welcome to the forum first of all. For MQTT, first of all ensure you have enabled the plugin in your "plugins" configuration and the hostname and port are correct (once restarted the logs should tell you if the connection is working fine). Then create a sensor for each measure, and use "mqtt" as the plugin like the following: "plugin": { "plugin_name": "mqtt", "mode": "subscribe", "topic": "weatherstation/wind/speed" }, When something is published on the topic, myHouse will save the measure....
I am trying to connect the sensors of my weather station with Myhouse via MQTT. I would prefer to do this directly without going via the "mysensors" interface. The sensors report each in a separate topic as I programmed it until now: static char topicPub1 = "weatherstation/wind/speed"; static char topicPub2 = "weatherstation/wind/temp"; static char topicPub3 = "weatherstation/rainstart"; static char topicPub4 = "weatherstation/UV"; static char topicPub5 = "weatherstation/DS18temp"; static char topicPub6...
Got it thanks. In case can be useful, I've tried to implement option #2 with mysensors as well (https://github.com/mysensors/NodeManager/pull/194). Also I have here a rain gauge sensor which is working based on the same logic and the way I have it configured in myHouse is the following: The sensor is not battery powered The sensor reports every hour the accumulated rain of that hour (same logic if you want to report power or water, just the format would be missing) * I have a sensor configured in...
Yes option #2 is what i am currently using,it sends an incremental count every 5 mins. But the problem is that mysensors has not got that facility in the examples. They use option #1.
Hi, I'm slowing getting in this and trying to figure out how the input data looks like. I've understood there are two options: 1- absolute value (would need the sensor to somehow retrieve and store the current consumption to date) 2- deltas (the sensor sends e.g. every hour the consumption of the previous hour. Since you already spent some time evaluating pros, cons and alternative options, which one is best/more common? I'd say #2 since I'm not sure how reliable can be #1. Thanks
Thanks for the feedback, this is defintely a critical issue to fix for the next release then!
Hello, I confirm I had the same problem after installing on an up to date Orange Pi Zero. Not easy to solve for a linux beginner :D
Hi, I must apologize for this. I finally got the sensors but I'd like to get them into NodeManager first, before figuring out how to handle the input in myHouse. I expect the latter not to be easy since I'd probably need to post-process the data somehow and I need always to try balancing between having something meaningful and that can be reused. Bottomline still way behind with this, sorry :(
Just wondering if you had made any progress or had any thoughts so far on this? I am still running a Domoticz server for my electricity and gas meters as i can not see a way of integrating them into myHouse.
Yes it will, there is a auto_refresh_min in the global "gui" section and optionally per module auto_refresh_min
Would this affect auto refresh settings throughout the whole config.json. So i would have to adjust them all to seconds?
Right, so let's try first with a quick fix, even if I don't like to the proliferation of alternative versions, I don't want either you to wait for long. Open the template_web.html file and on line 432 change: auto_refresh(minutes*60); Into: auto_refresh(minutes); No need to restart even if probably you need to clear the cache of your browser. auto_refresh_min then becames in seconds and not in minutes you may want to change it before applying this change (a restart is required here). Let me know...
If you could just refresh a single widget in seconds might help. But i don't think refreshing the page in seconds would do any favours for the rest of the system and load.
Hi, refreshing on update would be pretty challenging since would require each component to check constantly with the backend if there is an update and redraw just the element. What about allowing a refresh time in seconds instead of minutes? Would it solve/mitigate the problem?
Yeah this is something I was looking at but pretty challenging to implement so I postponed it but would make sense to find a smart way to achieve this. A temporary workaround could be to still create all the dummy sensors you need and use a single rule with a "for" so you can have the placeholder %i% replaced. I use something similar for my alarm module where each sensor has a corresponding "armed" fummy sensor. Just in case it can help: { "rule_id": "alarm_24h", "for": [ "alarm:sensors:fire_first_floor",...
I think i may have touched on this subject in the past but the problem has become more pronounced since adding the TPI thermostat. My current setup has a mysensor node in the boiler cupboard.It has a sensor to record :- 1.Boiler flow Temperature 2.Boiler Return Temperature 3.Boiler Status ON or OFF. I have the refresh rate on my dashboard set to 1 minute which is the minimum. But the boiler using a TPI thermostat can sometimes only be on for 30secs. So usually the boiler status checkbox widget does...
Having looked over this section in the wiki and How can I configure a rule to trigger only once?. I gave up trying to implement this on my setup. The first part can of course be done using placeholders so one rule covers all sensors,but this of course would then trigger every minute as you rightly state. But i think some method of How can I configure a rule to trigger only once? also needs some method using place holders otherwise i have to create lots of versions of the rule and lots of dummy sensors...
Hi, welcome to the forum! Looks like you've been able to solve it, great! But since you are the second person with the same problem (https://sourceforge.net/p/my-house/forum/general/thread/c9de3f0a/), there must be something wrong I've missed during the QA test. I've opened this https://sourceforge.net/p/my-house/tickets/229/ to track it down so to fix it in the next release. Thanks
Installation error
[solved] I installed the following : sudo pip install -U requests then change ip in webserver.py ( was 0.0.0.0) then change port to 8080 in myhouse.conf ( port 80 showed the default debian page) fab hi , I m new in myHouse . I 'm trying to install but I have problem : --service is running: service myhouse status ● myhouse.service - LSB: myHouse Loaded: loaded (/etc/init.d/myhouse) Active: active (exited) since mar 2017-07-04 14:47:51 CEST; 21min ago Process: 31604 ExecStop=/etc/init.d/myhouse stop...
hi , I m new in myHouse . I 'm trying to install but I have problem : --service is running: service myhouse status ● myhouse.service - LSB: myHouse Loaded: loaded (/etc/init.d/myhouse) Active: active (exited) since mar 2017-07-04 14:47:51 CEST; 21min ago Process: 31604 ExecStop=/etc/init.d/myhouse stop (code=exited, status=0/SUCCESS) Process: 31610 ExecStart=/etc/init.d/myhouse start (code=exited, status=0/SUCCESS) lug 04 14:47:51 raspberrypi systemd[1]: Starting LSB: myHouse... lug 04 14:47:51 raspberrypi...
Great, I'm glad you've been able to solve the isse!
Hi there, this was very helpful and solved the issue. It was the blank command_transform evenutally. Funny enough it popped into my config eve after I removed it via the web interface so I did it in the file directly.
Eheh, got it Thanks :)
Not looking for anything spectacular. Just run of the mill gauges for temperatures/Humidity/watts/Kwh when we get round to the energy meter side of things.(I love to give you a challenge):-)
Hey, eheh, I'd love spending my time fixing problems, unfortunately real life and a job chance are impacting dramatically on the spare time left to my few other projects :-) I've added #228 for this. Just give me a few examples of what you want to do with them so I'll add the capability into the right context. Thanks!
Add support for Highcharts Gauge charts
I know you are very busy at the moment.;-) (fixing my problems!!!) But would it be possible to add the Highstock gauges into the mix seeing as you are using highstock already?
It seems to be working great initially. I will let you know if there are any problems. Thank You.:-)
Thanks, get rid of the following line which is the one causing your issue and use the ds18b20 plugin (command_poll and command_parse are more difficult to control): "command_transform": "", Generally speaking avoid using settings with empty values unless the existance of the parameter is mandatory (e.g. the configuration is not validated correclty when running sudo python config.py)
I couldn't test it but I hope it wil work. Try the attached patch, it simply allows you to use "bias" again in addition "command_transform". Just replace the two files making a backup copy first and add bias in the configuration like in v2.3. Set logging to debug if you want to see the old and the new value. Let me know if it works :)
I don't use (or at least I havent configured it myself). The below is the whole json for the sensor config. "sensors": [ { "module_id": "sensor_temperatures", "group_id": "home_sensor", "sensor_id": "sensor1", "enabled": true, "display_name": { "en": "Kotolna-Boiler" }, "plugin": { "plugin_name": "command", "command_poll": "", "command_parse": "", "polling_interval": 1, "poll_on_demand": false, "cache_expire_min": 0 }, "format": "temperature", "retention": { "realtime_new_only": false, "realtime_count":...
Thanks Pete for sharing the logs! From the first set of logs looks like parse is doing the job and extracting the value, then I'd focus on that transforming 21.6 into which makes me think of a empty or wrong "command_transform". This is used to post-process a measure. Under the hood it simply runs a os command and expect a value back, if empty this cannot be casted into a float of course. Are you using "command_transform"? If so, try removing it to start with and let me know. Thanks
Just to be thorough, I left the sensor config in ds18b20 plugin mode and looked at redis entries: 1498980925.064246 [2 127.0.0.1:50850] "EXISTS" "myHouse:tmp:plugin_ds18b20:28-00000480cb63" 1498980925.071632 [2 127.0.0.1:50850] "ZRANGE" "myHouse:tmp:plugin_ds18b20:28-00000480cb63" "-1" "-1" "WITHSCORES" 1498980926.015163 [2 127.0.0.1:50850] "DEL" "myHouse:tmp:plugin_ds18b20:28-00000480cb63" 1498980926.022670 [2 127.0.0.1:50850] "ZADD" "myHouse:tmp:plugin_ds18b20:28-00000480cb63" "1498988126" "1498988126:6e...
Well in my case I have not removed the sensor from the DB, Mark did but perhaps that was a different issue than mine. I did what you suggested above. It seems it depends on what type I set in "Format" - I tried float, temperature, string and tried different scenarios with the output below. The poll seems to be ok: sudo python sensors.py sensor_temperatures home_sensor sensor1 poll [2017-07-02 08:51:23] [sensors.py:315 - run()] DEBUG: [sensor_temperatures][home_sensor][sensor1] requested poll [2017-07-02...