MyDomoticz revisited Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

User avatar
chimit
Posts: 259
Joined: Saturday 18 April 2015 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version: master
Location: Rotterdam, the Netherlands
Contact:

Re: MyDomoticz revisited

Post 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? :)
JakubAnderwald
Posts: 5
Joined: Saturday 25 April 2020 13:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MyDomoticz revisited

Post 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"
HM31
Posts: 56
Joined: Friday 04 August 2017 16:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MyDomoticz revisited

Post 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 ?
HM31
Posts: 56
Joined: Friday 04 August 2017 16:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MyDomoticz revisited

Post 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 ?
AutoUlf
Posts: 3
Joined: Sunday 26 November 2017 18:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: MyDomoticz revisited

Post 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.
solarboy
Posts: 300
Joined: Thursday 01 November 2018 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.6
Location: Portugal
Contact:

Re: MyDomoticz revisited

Post 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.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
Alain
Posts: 164
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: MyDomoticz revisited

Post 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.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
sach
Posts: 111
Joined: Wednesday 12 October 2016 14:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MyDomoticz revisited

Post 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?
User avatar
mcestoni
Posts: 11
Joined: Tuesday 08 August 2017 3:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MyDomoticz revisited

Post 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
Alain
Posts: 164
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: MyDomoticz revisited

Post by Alain »

my.domoticz.com is offline at the moment.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
AutoUlf
Posts: 3
Joined: Sunday 26 November 2017 18:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: MyDomoticz revisited

Post 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
Polforum
Posts: 4
Joined: Sunday 13 October 2019 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: MyDomoticz revisited

Post 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?
CaptainSlow
Posts: 60
Joined: Thursday 08 December 2016 21:07
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Bussum
Contact:

Re: MyDomoticz revisited

Post by CaptainSlow »

http://my.domoticz.com is offline....... :?: :?:
____________________________________________________________________
Raspberry PI 3 Model B with USB stick, Domoticz Stable, OTGW LAN with ESP wifi-bridge and Isense Thermostat using the Outside Temp from Buienradar via Domoticz, Milight Ibox-2(V6)
User avatar
chimit
Posts: 259
Joined: Saturday 18 April 2015 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version: master
Location: Rotterdam, the Netherlands
Contact:

Re: MyDomoticz revisited

Post 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.
User avatar
chimit
Posts: 259
Joined: Saturday 18 April 2015 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version: master
Location: Rotterdam, the Netherlands
Contact:

Re: MyDomoticz revisited

Post 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.
User avatar
chimit
Posts: 259
Joined: Saturday 18 April 2015 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version: master
Location: Rotterdam, the Netherlands
Contact:

Re: MyDomoticz revisited

Post 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.
User avatar
chimit
Posts: 259
Joined: Saturday 18 April 2015 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version: master
Location: Rotterdam, the Netherlands
Contact:

Re: MyDomoticz revisited

Post 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?
User avatar
chimit
Posts: 259
Joined: Saturday 18 April 2015 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version: master
Location: Rotterdam, the Netherlands
Contact:

Re: MyDomoticz revisited

Post 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?
JakubAnderwald
Posts: 5
Joined: Saturday 25 April 2020 13:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MyDomoticz revisited

Post 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)
User avatar
chimit
Posts: 259
Joined: Saturday 18 April 2015 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version: master
Location: Rotterdam, the Netherlands
Contact:

Re: MyDomoticz revisited

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

Who is online

Users browsing this forum: No registered users and 0 guests