Re: [MyDomoAtHome] Support thread
Posted: Wednesday 07 October 2015 14:26
Open source Home Automation System
https://forum.domoticz.com/
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"
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"}]}
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?
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,
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?
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
@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
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
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?
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
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
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
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?