Page 2 of 6

Re: MyDomoticz revisited

Posted: Saturday 25 April 2020 18:00
by chimit
Hi!

Check the settings of -www or -sslwww during startup of Domoticz.
Either of those needs to be defined.
JakubAnderwald wrote: Saturday 25 April 2020 13:16 Hello

I'm trying to setup MyDomoticz and would need some help. I've created an account at my.domoticz.com, donated 5 EUR since I believe you're doing a great job :), obtained an API key and entered that API key and my password at my home domoticz instance. However, it doesn't seem to connect to my domoticz as I still can see no devices at my.domoticz.com, just the regular welcome screen.

In the domoticz logs at my Raspberry Pi I can find the following entry:

Code: Select all

2020-04-25 13:04:14.362 Error: No servers are configured. Hence mydomoticz will not be started either (if configured)
What can I do to make it work fine? :)

Re: MyDomoticz revisited

Posted: Sunday 26 April 2020 14:30
by JakubAnderwald
I my service configuration file I can see the following

Code: Select all

DAEMON=/home/pi/domoticz/$NAME
DAEMON_ARGS="-daemon"
#DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME -pidfile $PIDFILE"
DAEMON_ARGS="$DAEMON_ARGS -www 0"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443"
#DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt"
#DAEMON_ARGS="$DAEMON_ARGS -syslog"

Re: MyDomoticz revisited

Posted: Monday 27 April 2020 14:49
by HM31
Since a few days I can connect to mydomoticz.com (or my.domoticz.com) and access to dashboard but cannot access to each of my instances anymore, when clicking on the icon the page doesn't respond and I got timeout after a while. Whatever brower I used, even after clearing cache.

I checked to log files of my Domoticz instances (on Synolgy) and the connection seems to be ok

Code: Select all

 2020-04-27 08:44:01.445 Accepting shared server connections via MyDomotiz (see settings menu).
2020-04-27 08:44:01.426 Status: Proxymanager started.
2020-04-27 08:44:03.055 Status: PROXY: Authenticate result: success. 
I use version 4.9700 for an instance and even an older one on the others because of support trouble on old Synolgy hardware that can be upgraded. All of them have basic authentication access setting.

How can I troubleshoot it please ?

Re: MyDomoticz revisited

Posted: Tuesday 12 May 2020 22:13
by HM31
chimit wrote: Friday 03 January 2020 15:26 We identified the issue being the following:

When the Domoticz login page is enabled, Domoticz redirects the user the a login page at the webroot.
In case you enter via MyDomoticz, the login page is not in the webroot anymore but at /my/<your instance key>.
Domoticz should be updated being able to use an alternative webroot, not just for Domoticz but also in case a local proxy server is used.

Must be updated to which version please ?

Re: MyDomoticz revisited

Posted: Friday 19 June 2020 16:46
by AutoUlf
Hi,

My "slave" looses contact approximately every other day and I need to go to the site where the slave is to restart domoticz on that pi and everything works fine for a few days and then it goes offline again. I know that I can set a restart of domoticz at the slave síte using cron but I wonder if someone knows a better way to fix this.

Re: MyDomoticz revisited

Posted: Friday 19 June 2020 17:43
by solarboy
I constantly get

"Status: PROXY: Authenticate result: wrong password for apikey/instanceid combination."

I tried a few styles of password in case special characters aren't allowed.

Re: MyDomoticz revisited

Posted: Wednesday 24 June 2020 3:48
by Alain
When I try and log in, the icon stays red. It worked when I had Domoticz running on Windows PC, but when I moved Domoticz inside a virtual machine with Ubuntu, I couldn't connect anymore.

There is a connection outside the virtual machine because the app on my phone works.

Re: MyDomoticz revisited

Posted: Wednesday 24 June 2020 11:21
by sach
Thank you for this, its working well for me.
I have made a donation to the cause.

Quick question, is it possible to connect the mobile (iOS) app to MyDomoticz?
Also any idea on when IFTTT integration is likely to be implemented?

Re: MyDomoticz revisited

Posted: Monday 13 July 2020 1:35
by mcestoni
I have multiple domoticz installations
3.8153
4.10717
4.11666
2020.2
The only installation that works PERFECT is 2020.2
Congratulations

Re: MyDomoticz revisited

Posted: Monday 13 July 2020 17:03
by Alain
my.domoticz.com is offline at the moment.

Re: MyDomoticz revisited

Posted: Monday 10 August 2020 21:02
by AutoUlf
I have not been able to reach MyDomoticz for several hours. Is it only me having this problem?

EDITED: Next day it worked again so I guess the service was down

Re: MyDomoticz revisited

Posted: Saturday 07 November 2020 19:19
by Polforum
Who can help me?
Can't get this work.

When I go to mydomoticz.com I can login and get a green icon.
Then click the green icon, login again and get the message "domoticz offline"

Domoticz log:
2020-11-07 19:11:54.385 Error: [web:8080] Failed authentication attempt, ignoring client request (remote address: 192.168.178.164)

What am I missing?

Re: MyDomoticz revisited

Posted: Tuesday 10 November 2020 13:09
by CaptainSlow
http://my.domoticz.com is offline....... :?: :?:

Re: MyDomoticz revisited

Posted: Friday 13 November 2020 20:42
by chimit
Hi,

The master-slave functionality via MyDomoticz is still in beta. You can consider this a "known issue".
The maintainer wanted to refactor the original master-slave functionality, so that's why we hesitated to proceed with the development in MyDomoticz.
AutoUlf wrote: Friday 19 June 2020 16:46 Hi,

My "slave" looses contact approximately every other day and I need to go to the site where the slave is to restart domoticz on that pi and everything works fine for a few days and then it goes offline again. I know that I can set a restart of domoticz at the slave síte using cron but I wonder if someone knows a better way to fix this.

Re: MyDomoticz revisited

Posted: Friday 13 November 2020 20:44
by chimit
Make sure the apikey that you enter in the Domoticz settings page is the api key that you can find in your MyDomoticz settings and in the confirmation e-mail you got.
Especifically it is not the e-mail address that you use to log in to the site.
solarboy wrote: Friday 19 June 2020 17:43 I constantly get

"Status: PROXY: Authenticate result: wrong password for apikey/instanceid combination."

I tried a few styles of password in case special characters aren't allowed.

Re: MyDomoticz revisited

Posted: Friday 13 November 2020 20:45
by chimit
What do your Domoticz log files say when that happens?
Alain wrote: Wednesday 24 June 2020 3:48 When I try and log in, the icon stays red. It worked when I had Domoticz running on Windows PC, but when I moved Domoticz inside a virtual machine with Ubuntu, I couldn't connect anymore.

There is a connection outside the virtual machine because the app on my phone works.

Re: MyDomoticz revisited

Posted: Friday 13 November 2020 20:46
by chimit
Unfortunately to both answers I have to answer that this still will take until after this year still.
This is due to the work load at my regular day time job.
sach wrote: Wednesday 24 June 2020 11:21 Thank you for this, its working well for me.
I have made a donation to the cause.

Quick question, is it possible to connect the mobile (iOS) app to MyDomoticz?
Also any idea on when IFTTT integration is likely to be implemented?

Re: MyDomoticz revisited

Posted: Friday 13 November 2020 20:48
by chimit
This is probably because of interference between your usual Domoticz login and MyDomoticz.
It's on the list of things to test well.
Polforum wrote: Saturday 07 November 2020 19:19 Who can help me?
Can't get this work.

When I go to mydomoticz.com I can login and get a green icon.
Then click the green icon, login again and get the message "domoticz offline"

Domoticz log:
2020-11-07 19:11:54.385 Error: [web:8080] Failed authentication attempt, ignoring client request (remote address: 192.168.178.164)

What am I missing?

Re: MyDomoticz revisited

Posted: Friday 13 November 2020 20:49
by JakubAnderwald
Can someone help with this error I'm getting?

2020-04-25 13:04:14.362 Error: No servers are configured. Hence mydomoticz will not be started either (if configured)

Re: MyDomoticz revisited

Posted: Friday 13 November 2020 20:50
by chimit
Make sure that in your Domoticz settings, you have either the http or https port set up.
JakubAnderwald wrote: Friday 13 November 2020 20:49 Can someone help with this error I'm getting?

2020-04-25 13:04:14.362 Error: No servers are configured. Hence mydomoticz will not be started either (if configured)