[MyDomoAtHome] Support thread

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

thebeetleuk
Posts: 115
Joined: Saturday 21 December 2013 23:50
Target OS: Linux
Domoticz version:
Location: Scotland
Contact:

Re: [MyDomoAtHome] Support thread

Post by thebeetleuk »

being an idiot!!

domo_path: "http://172.0.0.1:8080"!!! should be domo_path: "http://127.0.0.1:8080"
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

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. :cry:
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"
Are both on the same machine ? Warning you have put 172 and not 127 in the local loop ip...
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
thebeetleuk
Posts: 115
Joined: Saturday 21 December 2013 23:50
Target OS: Linux
Domoticz version:
Location: Scotland
Contact:

Re: [MyDomoAtHome] Support thread

Post by thebeetleuk »

OK so looks like im moving forward....

when I go to http://192.168.0.101:3001/devices

I get
{"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"}]}
Thoughts? am I missing something in the config somewhere?
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
thebeetleuk
Posts: 115
Joined: Saturday 21 December 2013 23:50
Target OS: Linux
Domoticz version:
Location: Scotland
Contact:

Re: [MyDomoAtHome] Support thread

Post by thebeetleuk »

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.*
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

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
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
Doler
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

Post by Doler »

@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?
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
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

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?
Hello,

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
DRuw
Posts: 17
Joined: Tuesday 05 August 2014 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by DRuw »

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 :?:
Doler
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

Post by Doler »

epierre wrote:
Doler wrote:
epierre wrote:
is that a push-on or push-off button in domoticz ? then this is normal, I restested this yesterday
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.
ok so it is something different, if I have your database, what is the device in question so I can have a look ?

thanks,
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?
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
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Doler 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?
Interresting, I've noted that to be investigated here: https://github.com/empierre/MyDomoAtHome/issues/36
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
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

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 :?:
ok seen, I've pushed a correction, tell me if this is right now,
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
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

joshimosh 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
@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 on :oops:
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
DRuw
Posts: 17
Joined: Tuesday 05 August 2014 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by DRuw »

epierre wrote:
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 :?:
ok seen, I've pushed a correction, tell me if this is right now,
Hi epierre,
What do I need to update? Nothing seems to have changed..
Is there any way to change things manually btw?
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

DRuw wrote:
epierre wrote:
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 :?:
ok seen, I've pushed a correction, tell me if this is right now,
Hi epierre,
What do I need to update? Nothing seems to have changed..
Is there any way to change things manually btw?
run ./update-mdah.sh

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
DRuw
Posts: 17
Joined: Tuesday 05 August 2014 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by DRuw »

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 :(
joshimosh
Posts: 58
Joined: Friday 29 May 2015 7:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by joshimosh »

epierre wrote:
joshimosh 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
@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 on :oops:
Thank you for your help.
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
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

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 :(
For the recognized service list:
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
DRuw
Posts: 17
Joined: Tuesday 05 August 2014 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by DRuw »

epierre wrote:
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 :(
For the recognized service list:
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? :lol:
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... :o
Now what exactly do you want me to do?
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

DRuw wrote: Okidoki, did I mention I was a Linux NooB? :lol:
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... :o
Now what exactly do you want me to do?
sorry, I have different levels of request I don't ask people how good or bad they are I just try to help :D

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
DRuw
Posts: 17
Joined: Tuesday 05 August 2014 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by DRuw »

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...)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests