Thanks for the support.
I see all those devices in domoticz and I can use them (e.g. switches). Just it seems that my MyDomoAtHome service on the system might not get updates when I create new devices.
After I set up MyDomoAtHome and the ImperiHome app on the phone (all worked great...) I added new devices to domoticz. Only those new ones I cannot see in the ImperiHome app. I can see/use them in domoticz (also see them in "domoticz-ip/#/devices").
Last time I had this issue (after adding two new devices), I tried to stop/start the services (stop MyDomoAtHome, then stop domoticz and restart them both in revers order) result = nothing. ImperiHome app worked well, just not see the newly added devices.
Only when I deleted the ImperiHome app from phone, reinstalled it and set up a new dashboard, I also see the newly added devices and can use them in ImperiHome app.
Seems to me there might be a kind of configuration issue somewhere (e.g. something like "only use previous devices" or something like that....). Looked in ImperiHome app configuration but cannot make any changes there on this behaviour.
Don't know enough of the MyDomoAtHome service on my NAS. Maybe I need to make some config changes there? I just took it, installed it and in ran.
Just think that deleting/reinstalling each time I add new devices might not be the way it is meant to work.
Question is: How can I make it that the ImperiHome app on iOS always gets the actual device list?
Apart from that all works fine.
Maybe someone with same experience? Or a solution (would be even better )
Thanks a lot.
Re: [MyDomoAtHome] Support thread
Posted: Sunday 13 May 2018 22:28
by DomoArigato
Ah well ..... consider my problem as solved!
All is working great - except my brain.
It was me not seeing the ‚reload‘ button in the ImperiHome app.
Once a clever user press this, the app reloads the actual device list from domoticz and everything is running very smooth.
Shame on me!
Working now! Good guys! Thanks a lot for this solution!
Re: [MyDomoAtHome] Support thread
Posted: Thursday 17 May 2018 17:04
by kmccor
Yeah, I've tried that and the RGB switch for all of my RGB devices is no longer showing in the /devices list. I'm assuming that there's been a change in how these devices are handled within Domoticz that stops them working with MDAH.
If you're missing devices in ImperiHome, you might check the /devices link of your DomoAtHome server (i.e. http://serverip:port/devices). In there you should get a list of all your devices. If you don't see your device there, it for sure won't show up in ImperiHome. If it does, you need to check ImperiHome settings.
Regards,
Marco
Re: [MyDomoAtHome] Support thread
Posted: Thursday 24 May 2018 10:08
by vulbas
Hello
I can not connect to MDAH anymore
it worked well before.
I do not understand.
can you help me ?
Re: [MyDomoAtHome] Support thread
Posted: Thursday 24 May 2018 18:42
by Xztraz
Same problem. No devices page on mydomoathome server. Used to work. constantly updating domoticz to latest build and now it's not giving any data to imperihome.
tried the /device page. can't reach(browser gives error)
page in/ works so i assume something is working.
case 'Dimmer':
if (data.result[i].SubType == 'RGB') {
//console.log("OK"+data.result[i].SubType);
result.push(DevRGBLight(data.result[i]));
} else if (data.result[i].SubType == 'RGBW') {
//console.log("OK"+data.result[i].SubType);
result.push(DevRGBLight(data.result[i]));
} else {
result.push(DevDimmer(data.result[i]));
I'm far from being a coder but as far as I can tell this may be the cause of my issue.
UPDATE - I've just noticed that I have one RGBW device and that's not showing in /devices either so there must be more to it than I was thinking.
Re: [MyDomoAtHome] Support thread
Posted: Friday 25 May 2018 15:05
by vulbas
vulbas wrote: ↑Thursday 24 May 2018 10:08
Hello
I can not connect to MDAH anymore
it worked well before.
I do not understand.
can you help me ?
Hello
I tested with a new installation of domoticz, the problem is the same.
V3.9485.
same problem with
v3.9501
hhheeelllppppp mmmmeeeee ppplleeeaassseeee
Re: [MyDomoAtHome] Support thread
Posted: Friday 25 May 2018 18:47
by vulbas
i just plugged my pi2, clean install of domoticz with stable version v3.8153 it works
I switch to beta v3.9501 and it does not work anymore. so this is a problem in the beta ....... and the problem is that I need the beta
je viens de rebrancher mon pi2, install propre de domoticz avec la version stable v3.8153 ça fonctionne
je passe en beta v3.9501 et ça ne fonctionne plus. c'est donc bien un probleme dans la beta ....... et le probleme c'est qu'il me faut la beta
Works! I was hoping my new soil moisture sensor would show up too. but doesn't seem like imperihome have support for that. So mailed them a feature request for that.
Re: [MyDomoAtHome] Support thread
Posted: Saturday 02 June 2018 12:49
by epierre
If you have the definition in json.htm I can make a custom
Re: [MyDomoAtHome] Support thread
Posted: Sunday 03 June 2018 22:31
by kmccor
All now working, thanks epierre.
Re: [MyDomoAtHome] Support thread
Posted: Monday 04 June 2018 19:15
by jessy1984
hi i was installing mydomoathome and stumbled on to a problem
i did follow the guide and up till the point of installing the server and the configuration file i'm a bit lost here and can not get it to work proper
"Important remark: do not install as root, but sudo as an unprivilegied user."
what is unprivilagied user?? i have just installed it using pi and raspberry as login
"Edit the configuration file with your values:
sudo nano /etc/mydomoathome/config.json"
what must be in this file
i have set the ip to the same ip as domoticz
and did ad the login and password i use in domoticz
what i do see is here when i enter the ip in internet explorer to port 3002
the instructions of mydomoathome but on the side i get this
AppName: MyDomoAtHome
MDAH: http://192.168.1.xxx:3002
Domoticz: http://127.0.0.1:8080/json.htm
NodeJS: v4.2.2
Webmanager: EJS
Renderer: Express
the domoticz ip is not correct altho i have set the correct one in the config file above
Re: [MyDomoAtHome] Support thread
Posted: Monday 04 June 2018 20:56
by epierre
sorry this one:
"auth": null,}
just remove the coma
Re: [MyDomoAtHome] Support thread
Posted: Monday 04 June 2018 21:36
by jessy1984
hi this did help also i saw that i'v put my log in and password in the wrong field
info: Domoticz server: http://127.0.0.1:8084/json.htm
info: Node version: 4.8.7
info: MDAH version: MyDomoAtHome 0.2.39
info: OS version: Linux linux 3.2.40
info: Hostname: NAS 192.168.2.201 in /root /root
info: Refreshing version cache: v0.2.39
[SyntaxError: Unexpected end of input]
[SyntaxError: Unexpected end of input]
undefined:2267
SyntaxError: Unexpected end of input
at Object.parse (native)
at Request._callback (/volume1/@appstore/MyDomoAtHome/app/mdah.js:2346:18)
at Request.self.callback (/volume1/@appstore/MyDomoAtHome/app/node_modules/request/request.js:200:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/volume1/@appstore/MyDomoAtHome/app/node_modules/request/request.js:1067:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage.<anonymous> (/volume1/@appstore/MyDomoAtHome/app/node_modules/request/request.js:988:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
It occured after updating to 0.2.39. Before it has been running for weeks without stopping.
Re: [MyDomoAtHome] Support thread
Posted: Wednesday 06 June 2018 16:41
by epierre
it is the result of getting a json request, that code has not changed, maybe a stability issue on domoticz ?