Closed harvey637 closed 9 months ago
it looks to me,, that the adapter is requesting 7 api calls per polling cycle of which 1 fails :-(
thermostats, boiler ... receive updated datapoint, e.g boiler/ubauptime or thermostat/date.
in adapter config only emsp-esp gateway with poling 120 active, no km200, statistics or heatdemand ...
3.7.0 is not supported yet. Haven't tested. But have you restarted the iobroker adapter?
Hi, thank you for the quick answer. YES Adapter was restarted. All the relevant Infos (Boiler, thermostat, ... ) look like they are received, so no big problem.
10.09.2023 17:47:43 Thomas @.***>:
3.7.0 is not supported yet. Haven't tested. But have you restarted the iobroker adapter?
— Reply to this email directly, view it on GitHub[https://github.com/tp1de/ioBroker.ems-esp/issues/34#issuecomment-1712847377], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ACNPTCQY2QPCXNDBREYBIW3XZXOJ5ANCNFSM6AAAAAA4SHZ4DQ]. You are receiving this because you authored the thread.[Verfolgungsbild][https://github.com/notifications/beacon/ACNPTCTHHJTQOFXTF2UJWADXZXOJ5A5CNFSM6AAAAAA4SHZ4DSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTGC75BC.gif]
Do you have 2 thermostats? Please post http://ems-esp/api/system
Yes, in a way. The system ist a Bosch heatpump, where the rc300 ist build inside. A room Thermostat rc100h ist external. This second Thermostat supplies temp and humidity for dewpoint calculation, as the Bosch can also be a cooling system. Will send API/System soon.--Diese Nachricht wurde von meinem Android Mobiltelefon mit WEB.DE Mail gesendet.Am 10.09.23, 18:31 schrieb Thomas @.***>:
Do you have 2 thermostats? Please post http://ems-esp/api/system —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
`
`
Was this working before with 2 thermostats? Something must have changed in response to http://ems-esp/api/thermostat. Could you have a look what is different between 3.6 and 3.7 to response?
yes, both thermostats wer working and still are!
see:
...
this is exactly as before, also all the data from the "boiler" are correct. I will try to go back in emsp-esp to provide screenshots .... But I guess that there is no problem. Why? I also have some scripts in raspberrynmatic aside from the iobroker adapter, and the work and produce no error (log in the ems-esp). So my Idea is, that one if the 7 api calls from the iobroker-adapter are unanswered, but it is not the /boiler, /thermostat, /system ...
I think I found something:
19:41:49.331557 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.33526: Flags [S.], seq 414663796, ack 2198309510, win 5744, options [mss 1436], length 0
19:41:49.331634 IP ioBroker-RasPi.fritz.box.33526 > ems-esp.fritz.box.http: Flags [.], ack 1, win 64240, length 0
19:41:49.331934 IP ioBroker-RasPi.fritz.box.33526 > ems-esp.fritz.box.http: Flags [P.], seq 1:63, ack 1, win 64240, length 62: HTTP: GET /api/custom HTTP/1.1
19:41:49.343097 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.33526: Flags [P.], seq 1:171, ack 63, win 5682, length 170: HTTP: HTTP/1.1 400 Bad Request
19:41:49.343168 IP ioBroker-RasPi.fritz.box.33526 > ems-esp.fritz.box.http: Flags [.], ack 171, win 64070, length 0
19:41:49.344447 IP ioBroker-RasPi.fritz.box.33526 > ems-esp.fritz.box.http: Flags [F.], seq 63, ack 171, win 64070, length 0
19:41:49.348329 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.33526: Flags [F.], seq 171, ack 64, win 5681, length 0
looks like the /api/custom causing the trouble:
I dont know weather the the response to /api/custom changed or only the logging in the ems-esp is more active but now I am logging with tcpdump the communication between iobroker and ems-esp (with specail grep ...)
`19:53:48.187518 IP ioBroker-RasPi.fritz.box.33850 > ems-esp.fritz.box.http: Flags [P.], seq 1:63, ack 1, win 64240, length 62: HTTP: GET /api/system HTTP/1.1 19:53:48.210892 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.33850: Flags [.], seq 1:1437, ack 63, win 5682, length 1436: HTTP: HTTP/1.1 200 OK 19:53:48.397662 IP ioBroker-RasPi.fritz.box.33866 > ems-esp.fritz.box.http: Flags [P.], seq 1:63, ack 1, win 64240, length 62: HTTP: GET /api/boiler HTTP/1.1 19:53:48.629740 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.33866: Flags [P.], seq 1:1199, ack 63, win 5682, length 1198: HTTP: HTTP/1.1 200 OK 19:53:48.636404 IP ioBroker-RasPi.fritz.box.33866 > ems-esp.fritz.box.http: Flags [.], ack 1200, win 63494, length 0
19:53:48.801765 IP ioBroker-RasPi.fritz.box.33878 > ems-esp.fritz.box.http: Flags [P.], seq 1:67, ack 1, win 64240, length 66: HTTP: GET /api/thermostat HTTP/1.1 19:53:48.890730 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.33878: Flags [P.], seq 1:596, ack 67, win 5678, length 595: HTTP: HTTP/1.1 200 OK 19:53:49.109008 IP ioBroker-RasPi.fritz.box.33892 > ems-esp.fritz.box.http: Flags [P.], seq 1:67, ack 1, win 64240, length 66: HTTP: GET /api/thermostat HTTP/1.1 19:53:49.230849 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.33892: Flags [P.], seq 1:596, ack 67, win 5678, length 595: HTTP: HTTP/1.1 200 OK 19:53:49.518769 IP ioBroker-RasPi.fritz.box.33902 > ems-esp.fritz.box.http: Flags [P.], seq 1:63, ack 1, win 64240, length 62: HTTP: GET /api/custom HTTP/1.1 19:53:49.529852 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.33902: Flags [P.], seq 1:171, ack 63, win 5682, length 170: HTTP: HTTP/1.1 400 Bad Request 19:55:48.204966 IP ioBroker-RasPi.fritz.box.60724 > ems-esp.fritz.box.http: Flags [P.], seq 1:63, ack 1, win 64240, length 62: HTTP: GET /api/system HTTP/1.1 19:55:48.228026 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.60724: Flags [.], seq 1:1437, ack 63, win 5682, length 1436: HTTP: HTTP/1.1 200 OK 19:55:48.416503 IP ioBroker-RasPi.fritz.box.60740 > ems-esp.fritz.box.http: Flags [P.], seq 1:63, ack 1, win 64240, length 62: HTTP: GET /api/boiler HTTP/1.1 19:55:48.635131 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.60740: Flags [P.], seq 1:1199, ack 63, win 5682, length 1198: HTTP: HTTP/1.1 200 OK 19:55:48.644009 IP ioBroker-RasPi.fritz.box.60740 > ems-esp.fritz.box.http: Flags [.], ack 1200, win 63494, length 0 19:55:48.816595 IP ioBroker-RasPi.fritz.box.60746 > ems-esp.fritz.box.http: Flags [P.], seq 1:67, ack 1, win 64240, length 66: HTTP: GET /api/thermostat HTTP/1.1 19:55:48.905527 IP ems-esp.fritz.box.http > ioBroker-RasPi.fritz.box.60746: Flags [P.], seq 1:596, ack 67, win 5678, length 595: HTTP: HTTP/1.1 200 OK `
easier in graphic mode:
see the two successfull /thermostat requests, also successfull /boiler and /system, problem with /custom ...
see https://emsesp.github.io/docs/Commands/#http there is no /api/custom ?!?!?!?
Thanks for input. I added the integration of custom entities from esp. Was this adapter version working with 3.6 without errors?
hmmmm, at least I do some quick testing after every ems-esp update and dont remember error entries in the ems-esp log. I am more interested in "newer" findings of entities of my heatpump, as I am still missing e.g. the temperatures for activatiing the cooling mode ( If found the setting "summermode" equals the temperature where the heating starts, sadly no good wording). Also I would "like" to have decimals with the power consumption (possibly not published by bosch) or somethin about the control of the auxillary heater. may be in some future :-)
Possibly the integration of custom entities (or custom naming of devices ...) is still a bit ongoing and we expect some success in future.
by now I can live with this minor problem (only in the log :-), data is coming correctly. I will keep you informed about findings with next ems-esp version. have a nice (rest of) weekend! ciao Harvey
Errors in log was due to polling custom entities from ems-esp. I introduced a config parameter in new version2.4.1.
perfect, no more errors in ems-esp! (may be that the ems-esp should also be more friendly to possibly correct request with answering "none configured" instead of logging this as error, will ask for that in ems-esp)
ciao Harvey
see https://emsesp.github.io/docs/Commands/#http there is no /api/custom ?!?!?!?
I'll update the EMS-ESP docs this weekend. Also will look at suppressing the error in the logs.
@proddy best solution would be to include custom elements in api/system similar to sensors to be able to identify the existence of these elements.
yes, agreed! I dont have sensors (are part of my vdmot-valve solution, which is near the in/out temperatures of the heating). So it is this empty "sensors {}" entry in /api/system? Having something like "custom {}" might be handy if more people use custom entries ... not yet played with it :-)
Or have a valid "device" like boiler, thermostat ... system for "custom entities" answering with {}/empty without error.
Thank You Harvey
added http://<hostname>/api/custom/
to the EMS-ESP docs. It doesn't make sense to me to show this in /api/system
Hi, after updateing to ems-esp v3.7.0-dev0 (2023-10-09 around 16:00) this error is logged in ems-esp:![grafik](https://github.com/tp1de/ioBroker.ems-esp/assets/10156426/82ba88a7-ce83-4e07-b636-516268ebfd26)
the times correspond to the times of the ems-esp adapter in my iobroker installation, e.g when stopping no errors, restarting errors start again at the times of the polling od data. No error with initial data (/thermostat, /boiler, /system)
I dont see the wrong api call, please help me with settings to log the error (ems-esp or ems-esp-iobroker adapter)![grafik](https://github.com/tp1de/ioBroker.ems-esp/assets/10156426/eb62cfbf-9f94-4392-ba75-8c2dc83c4879)