[MyDomoAtHome] Support thread
Moderator: leecollings
-
- Posts: 115
- Joined: Saturday 21 December 2013 23:50
- Target OS: Linux
- Domoticz version:
- Location: Scotland
- Contact:
Re: [MyDomoAtHome] Support thread
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
Are both on the same machine ? Warning you have put 172 and not 127 in the local loop ip...thebeetleuk wrote:Hi epierre, yes ran that and then the update which seems to have resolved some issues.
now mi stuck with the devices page. double checked the production.yml to make sure correct (see below) but it cant seem to communicate with domoticz.
pi@domoticzpi ~/domoticz/MyDomoAtHome $ more production.yml
log: 'error'
startup_info: 0
show_errors: 0
domo_path: "http://172.0.0.1:8080"
volumio_path: ""
appname: "MyDomoAtHome REST Gateway"
charset: "UTF-8"
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 115
- Joined: Saturday 21 December 2013 23:50
- Target OS: Linux
- Domoticz version:
- Location: Scotland
- Contact:
Re: [MyDomoAtHome] Support thread
OK so looks like im moving forward....
when I go to http://192.168.0.101:3001/devices
I get
when I go to http://192.168.0.101:3001/devices
I get
Thoughts? am I missing something in the config somewhere?{"devices":[{"params":[{"unit":"","value":"http://127.0.0.1:8080","graphable":"false","key":"Value"}],"name":"Unable to connect to Domoticz","type":"DevGenericSensor","id":"S00"},{"params":[{"unit":"","value":"","graphable":"false","key":"Value"}],"name":"Please add this gateway in Setup/settings/Local Networks","type":"DevGenericSensor","id":"S01"}]}
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
-
- Posts: 115
- Joined: Saturday 21 December 2013 23:50
- Target OS: Linux
- Domoticz version:
- Location: Scotland
- Contact:
Re: [MyDomoAtHome] Support thread
got it... I have a password set in Domoticz.
I had the following which I assumed would work:
Local Networks (no username/password): 192.168.0.*; 127.*
Changed to the following with success and I now see the devices
Local Networks (no username/password): 192.168.0.*; 127.0.0.*
I had the following which I assumed would work:
Local Networks (no username/password): 192.168.0.*; 127.*
Changed to the following with success and I now see the devices
Local Networks (no username/password): 192.168.0.*; 127.0.0.*
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
on the command line try
curl http://192.168.0.101:8080/json.htm?type ... order=Name
curl http://127.0.0.1:8080/json.htm?type=dev ... order=Name
if both fails, please add in domoticz configuration the right network address to allow access without authentification
curl http://192.168.0.101:8080/json.htm?type ... order=Name
curl http://127.0.0.1:8080/json.htm?type=dev ... order=Name
if both fails, please add in domoticz configuration the right network address to allow access without authentification
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 142
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: [MyDomoAtHome] Support thread
@epierre:
Thanks for a good job on repairing the energy device. Knowing that a major change at Domoticz caused the problems with these devices, I guessed I had to be patient for a solution.
This morning I checked if there was a mdah-update and yes. The update started to run and I thought it would never end. After a reboot I checked at Imperihome but there were no devices. Panic!? I decided to run the update again and to my surprise it added some more, don't know if this was by accident or not. But after that everything is running fine and the energy devices are showing their values again. So again, thanks very much for what I guess was hard work.
One minor question: are the values for the energy devices rounded to integer values?
Thanks for a good job on repairing the energy device. Knowing that a major change at Domoticz caused the problems with these devices, I guessed I had to be patient for a solution.
This morning I checked if there was a mdah-update and yes. The update started to run and I thought it would never end. After a reboot I checked at Imperihome but there were no devices. Panic!? I decided to run the update again and to my surprise it added some more, don't know if this was by accident or not. But after that everything is running fine and the energy devices are showing their values again. So again, thanks very much for what I guess was hard work.
One minor question: are the values for the energy devices rounded to integer values?
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
Hello,Doler wrote:@epierre:
Thanks for a good job on repairing the energy device. Knowing that a major change at Domoticz caused the problems with these devices, I guessed I had to be patient for a solution.
This morning I checked if there was a mdah-update and yes. The update started to run and I thought it would never end. After a reboot I checked at Imperihome but there were no devices. Panic!? I decided to run the update again and to my surprise it added some more, don't know if this was by accident or not. But after that everything is running fine and the energy devices are showing their values again. So again, thanks very much for what I guess was hard work.
One minor question: are the values for the energy devices rounded to integer values?
Sorry I didn't publish here, but I had a contributor (I thank him !) who helped me finish the thing yesterday evening/night... we had an evolution on Domoticz and Imperihome, so either the device could not be seen or the daily usage was missing...
The update is a bit long on RPI for I thought I would go faster to Dancer2 but some bugs are around, and I may deactivate this in the update till it is solved.
I've not checked for rounded values but that could be Imperihome too that round them.
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 17
- Joined: Tuesday 05 August 2014 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [MyDomoAtHome] Support thread
Hi epierre,
can you look at my comment on page 10 o this thread?
somehow I have the temperature sensors that are going to weather, switches are now going to switches but is there any way to sort them manually
can you look at my comment on page 10 o this thread?
somehow I have the temperature sensors that are going to weather, switches are now going to switches but is there any way to sort them manually
-
- Posts: 142
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: [MyDomoAtHome] Support thread
I discovered the probable cause of the strange behaviour. Earlier on I had no problems with the specific switch. When discussing the behaviour of scenes and groups I created a scene just to test. Now it appears that this scene got the same Idx as the switch which is likely to be the cause of the problems. I justified this by deleting the scene after which the strange behaviour of the switch is gone. I think Domoticz differentiates by the Unit which is different for the switch (1) and for the scene (none). Something to explore further?epierre wrote:ok so it is something different, if I have your database, what is the device in question so I can have a look ?Doler wrote:No, it's a regular On/Off switch. I tried changing to another type and changing it back but that didn't help. When changed to a push-on I see indeed the same behaviour except when it's an On/Off switch it shows this behaviour only when On. Other switches behave normal, so I've only one weird switch.epierre wrote:
is that a push-on or push-off button in domoticz ? then this is normal, I restested this yesterday
thanks,
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
Interresting, I've noted that to be investigated here: https://github.com/empierre/MyDomoAtHome/issues/36Doler wrote: I discovered the probable cause of the strange behaviour. Earlier on I had no problems with the specific switch. When discussing the behaviour of scenes and groups I created a scene just to test. Now it appears that this scene got the same Idx as the switch which is likely to be the cause of the problems. I justified this by deleting the scene after which the strange behaviour of the switch is gone. I think Domoticz differentiates by the Unit which is different for the switch (1) and for the scene (none). Something to explore further?
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
ok seen, I've pushed a correction, tell me if this is right now,DRuw wrote:Hi epierre,
can you look at my comment on page 10 o this thread?
somehow I have the temperature sensors that are going to weather, switches are now going to switches but is there any way to sort them manually
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
@joshimosh there's been correction but I don't know if it corresponds to your issue, please log something here : https://github.com/empierre/MyDomoAtHome/issues if it is not fine, for I may lose some issues when there are too many posts going onjoshimosh wrote:@epierre:
Sorry for bugging you, but may I ask you to give an ETA for a fix of the missing electricity counters ?
Thank you and all the best
Josh
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 17
- Joined: Tuesday 05 August 2014 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [MyDomoAtHome] Support thread
Hi epierre,epierre wrote:ok seen, I've pushed a correction, tell me if this is right now,DRuw wrote:Hi epierre,
can you look at my comment on page 10 o this thread?
somehow I have the temperature sensors that are going to weather, switches are now going to switches but is there any way to sort them manually
What do I need to update? Nothing seems to have changed..
Is there any way to change things manually btw?
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
run ./update-mdah.shDRuw wrote:Hi epierre,epierre wrote:ok seen, I've pushed a correction, tell me if this is right now,DRuw wrote:Hi epierre,
can you look at my comment on page 10 o this thread?
somehow I have the temperature sensors that are going to weather, switches are now going to switches but is there any way to sort them manually
What do I need to update? Nothing seems to have changed..
Is there any way to change things manually btw?
and in imperihome force reload devices
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 17
- Joined: Tuesday 05 August 2014 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [MyDomoAtHome] Support thread
No Idea what has changed but now the service does not seem to start...
even if I try to reload, this shows up:
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh reload
[....] Reloading plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 1201: No such process
start-stop-daemon: warning: failed to kill 1201: No such process
failed!
(force)start/stop does have any effect as well...
help
even if I try to reload, this shows up:
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh reload
[....] Reloading plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 1201: No such process
start-stop-daemon: warning: failed to kill 1201: No such process
failed!
(force)start/stop does have any effect as well...
help
-
- Posts: 58
- Joined: Friday 29 May 2015 7:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [MyDomoAtHome] Support thread
Thank you for your help.epierre wrote:@joshimosh there's been correction but I don't know if it corresponds to your issue, please log something here : https://github.com/empierre/MyDomoAtHome/issues if it is not fine, for I may lose some issues when there are too many posts going onjoshimosh wrote:@epierre:
Sorry for bugging you, but may I ask you to give an ETA for a fix of the missing electricity counters ?
Thank you and all the best
Josh
I am on travel now and have only limited access to the internet. When I am back home next week, I will check and report back.
Thanks a lot for all the efforts you are putting in !
Cheers
Josh
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
For the recognized service list:DRuw wrote:No Idea what has changed but now the service does not seem to start...
even if I try to reload, this shows up:
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh reload
[....] Reloading plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 1201: No such process
start-stop-daemon: warning: failed to kill 1201: No such process
failed!
(force)start/stop does have any effect as well...
help
service --status-all
check if a starman runs: ps ax|grep starman and kill the process.
try:
chkconfig –level 2345 domoticz.sh on
service domoticz start
chkconfig –add MyDomoAtHome.sh
chkconfig –level 2345 MyDomoAtHome.sh on
service MyDomoAtHome.sh start
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 17
- Joined: Tuesday 05 August 2014 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [MyDomoAtHome] Support thread
epierre wrote:For the recognized service list:DRuw wrote:No Idea what has changed but now the service does not seem to start...
even if I try to reload, this shows up:
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh reload
[....] Reloading plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 1201: No such process
start-stop-daemon: warning: failed to kill 1201: No such process
failed!
(force)start/stop does have any effect as well...
help
service --status-all
check if a starman runs: ps ax|grep starman and kill the process.
try:
chkconfig –level 2345 domoticz.sh on
service domoticz start
chkconfig –add MyDomoAtHome.sh
chkconfig –level 2345 MyDomoAtHome.sh on
service MyDomoAtHome.sh start
Okidoki, did I mention I was a Linux NooB?
Recognized serive list: I understand but there is no "status" that can show me if it is running or not (like the domoticz.sh status command).
Not that it matters but that was wat I meant.
hitting the starman commend shows this:
pi@raspberrypi ~/domoticz/MyDomoAtHome $ ps ax|grep starman
9817 pts/0 S+ 0:00 grep --color=auto starman
whatever it means...
Now what exactly do you want me to do?
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
sorry, I have different levels of request I don't ask people how good or bad they are I just try to helpDRuw wrote: Okidoki, did I mention I was a Linux NooB?
Recognized serive list: I understand but there is no "status" that can show me if it is running or not (like the domoticz.sh status command).
Not that it matters but that was wat I meant.
hitting the starman commend shows this:
pi@raspberrypi ~/domoticz/MyDomoAtHome $ ps ax|grep starman
9817 pts/0 S+ 0:00 grep --color=auto starman
whatever it means...
Now what exactly do you want me to do?
here it means that there is no process running so you can restart it !
of course you can query the status: sudo service MyDomoAtHome.sh status
now you can restart: sudo service MyDomoAtHome.sh start
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 17
- Joined: Tuesday 05 August 2014 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [MyDomoAtHome] Support thread
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh status
Usage: /etc/init.d/MyDomoAtHome {start|force-start|stop|force-stop|reload|restart|force-reload}
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh reload
[....] Reloading plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 13314: No such process
start-stop-daemon: warning: failed to kill 13314: No such process
failed!
so although it is started, it doesn't work (IP:port/devices also doesn't load...)
Usage: /etc/init.d/MyDomoAtHome {start|force-start|stop|force-stop|reload|restart|force-reload}
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh reload
[....] Reloading plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 13314: No such process
start-stop-daemon: warning: failed to kill 13314: No such process
failed!
so although it is started, it doesn't work (IP:port/devices also doesn't load...)
Who is online
Users browsing this forum: No registered users and 1 guest