Page 1 of 1

bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 16:04
by Dylantje
Dear developers...
I do have my idx for Domoticz above the 10000..
Only i cannot use the espeasy software any more.
Because the espeasy still counts to 9999...

So please a solution....

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 16:14
by grovkillen
Thanks for putting on the GitHub tracker

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 16:17
by Dylantje
yeah finaly got the sonoff working..
And then i get this error grrr.

Sometimes have a lot of patients for the hobby ...

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 16:18
by grovkillen
We hope to be able to spend more time on this project very soon. You might have read :D

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 16:25
by Dylantje
mm
o i did not read.. only i do have a lot respect for the developers so..
I think i have to wait :-)

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 22:21
by TD-er
Do you have any idea of the maximum value the Domoticz IDX can be?

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 22:25
by Dylantje
TD-er wrote: 09 Sep 2018, 22:21 Do you have any idea of the maximum value the Domoticz IDX can be?
mmm i think Gizmocuz [ from Domoticz ]can make it to 1.000.000 :-)
Now i am obove the 12000 [ my new devices was standing on for months in Domoticz, so i was counting all the neigbours car sensors etc etc ]

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 22:31
by TD-er
Dylantje wrote: 09 Sep 2018, 22:25
TD-er wrote: 09 Sep 2018, 22:21 Do you have any idea of the maximum value the Domoticz IDX can be?
mmm i think Gizmocuz [ from Domoticz ]can make it to 1.000.000 :-)
Now i am obove the 12000 [ my new devices was standing on for months in Domoticz, so i was counting all the neigbours car sensors etc etc ]
I looked at the source code and the web interface has this limit set (I knew I changed it already a while ago)
999999999
Look for this line in WebServer.ino:

Code: Select all

addNumericBox(id, Settings.TaskDeviceID[controllerNr][taskIndex], 0, 999999999); // Looks like it is an unsigned int, so could be up to 4 bln.
So if it isn't working, with the latest builds, I may have to look further.

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 22:32
by TD-er
Ah, found some limit in P029_Output. There it is also checking for a limit of 9999.

Re: bug 9999 ESP Domoticz IDX

Posted: 09 Sep 2018, 22:37
by Dylantje
mmm
How can i found this in my data?.
Or how can i change this?


Do i need to reflash?
Or is there on git a change possible?
So i can do a OTA?

Re: bug 9999 ESP Domoticz IDX

Posted: 10 Sep 2018, 00:58
by TD-er
I have already changed stuff I think may be related to this and merged it.
It should be included in tomorrow's build.

Re: bug 9999 ESP Domoticz IDX

Posted: 10 Sep 2018, 20:53
by Dylantje
can you please tell me how i can update to this newer version?
Without flash? ota? or?

Thanks!!!

Re: bug 9999 ESP Domoticz IDX

Posted: 10 Sep 2018, 21:17
by TD-er
Depending on the amount of memory on the ESP node.
If 1M, then you will have to reconnect the flash tool, since the current image size is a bit too big for OTA (maybe 1-step OTA?)
If you have 4M flash, then you could try OTA.
Just select the new firmware bin file from the web interface.

Re: bug 9999 ESP Domoticz IDX

Posted: 10 Sep 2018, 22:23
by Dylantje
Thanks..
Give it a try..
Sonoff basic is 1mb?
So think a better clean flash

Re: bug 9999 ESP Domoticz IDX

Posted: 10 Sep 2018, 22:51
by TD-er
Yep, the Sonoff basic is 1 MB (ESP8266)