New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: cannot unpack non-iterable NoneType object #2
Comments
Hi, According to the error in logs you sent, my integration isn't able to find the string "Boiler temp. actual value" in the "VarIdentTexte_xx" on your gateway. Can you post the content of this file on your gateway : Cheers, |
I just post a patch to mycomfortclient to prevent your crash. Can you try it and post your VarIdentTexte_en.xml? Cheers, |
hi Nicolas. thanks a lot for your support - that´s just great! 2022-05-01 18:34:06 ERROR (SyncWorker_4) [mycomfortclient] Exception getting VarIdentTexte from server Logger: mycomfortclient Logger: mycomfortclient Exception getting AufzaehlTexte from server when I open the url you sent me I just get "Welcome to your Windhager InfowinTouch hosting nginx! You can now access the comWinStack API." how can I access this file or get the content? thanks |
hi. |
Hi, I think I know why it isn't working : There is now a whole new (external) controller called Infinity TA. I found this info here : Windhager BioWin (MES Infinity Steuerung) in den HS einbinden However, it seems that you can query the datapoints in the same manner... You could try my client in debug mode to see what you get : Cheers, |
Hi Nicolas.
That´s true, it´s an external controller conncted to biowin 2 touch, I don´t know what got used before.
I honestly don’t have any experience with python, but it seems to be time for it 😊
Thanks a lot for your support!
Regards
stefan
Von: sarabanjina ***@***.***>
Gesendet: Dienstag, 10. Mai 2022 21:05
An: sarabanjina/mycomfort ***@***.***>
Cc: stefeis ***@***.***>; Author ***@***.***>
Betreff: Re: [sarabanjina/mycomfort] TypeError: cannot unpack non-iterable NoneType object (Issue #2)
Hi,
I think I know why it isn't working : There is now a whole new (external) controller called Infinity TA. I found this info here : Windhager BioWin (MES Infinity Steuerung) in den HS einbinden <https://knx-user-forum.de/forum/%C3%B6ffentlicher-bereich/knx-eib-forum/1280862-windhager-biowin-mes-infinity-steuerung-in-den-hs-einbinden>
However, it seems that you can query the datapoints in the same manner... You could try my client in debug mode to see what you get :
python3 -m mycomfortclient --hostname x.x.x.x --username USER --password 'xxxxxxxx' --debug
Cheers,
Nicolas
—
Reply to this email directly, view it on GitHub <#2 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AS56AMCE3I467KXXHTCN4MDVJKXMNANCNFSM5S6XJ6UA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AS56AMHSEWU64ATABJRLYVTVJKXMNA5CNFSM5S6XJ6UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOILV7LWY.gif> Message ID: ***@***.*** ***@***.***> >
|
Hi, If you would like to, I can have a look to your gateway to estimate the work needed and the differences with the old gateway... Regards, |
Wow, thanks!
I´ll try first to use the pyhton3 script and tell you what happened, and if needed I´m happy to show you the new gateway.
Actually I´m a bit in stress, so I don´t know when I´ve time for it. I already shut down the biowin, but for testing I´ll turn it on again.
Regards
stefan
Von: sarabanjina ***@***.***>
Gesendet: Mittwoch, 11. Mai 2022 09:49
An: sarabanjina/mycomfort ***@***.***>
Cc: stefeis ***@***.***>; Author ***@***.***>
Betreff: Re: [sarabanjina/mycomfort] TypeError: cannot unpack non-iterable NoneType object (Issue #2)
Hi,
If you would like to, I can have a look to your gateway to estimate the work needed and the differences with the old gateway...
Regards,
Nicolas
—
Reply to this email directly, view it on GitHub <#2 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AS56AMGKKV6LYITT6SBZ763VJNQ57ANCNFSM5S6XJ6UA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AS56AMGN64TWF7LF472VU2LVJNQ57A5CNFSM5S6XJ6UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIL2ESQQ.gif> Message ID: ***@***.*** ***@***.***> >
|
Hi, You could try these urls first to see if the api is the same: Regards, |
Hi Nicolas.
Sorry, for coming back to you so late, but I turned on biowin on again for 2 weeks.
I tried your links:
The value of 26,5 is correct! Time stamp is not ok, I´ve to check why this I wrong.
Can I try other OID-combinations?
I just copied newest files onto HA, restarted and go these log entries:
Biowintouch got an update yesterday and the technician told me that the mobile app will get active functions in appr. 1 month!? I guess the controller will also get an update for this.
Best regards
stefan
Von: sarabanjina ***@***.***>
Gesendet: Mittwoch, 11. Mai 2022 11:38
An: sarabanjina/mycomfort ***@***.***>
Cc: stefeis ***@***.***>; Author ***@***.***>
Betreff: Re: [sarabanjina/mycomfort] TypeError: cannot unpack non-iterable NoneType object (Issue #2)
Hi,
You could try these urls first to see if the api is the same:
http://x.x.x.x/api/1.0/datapoints (cached values on gateway)
http://x.x.x.x/api/1.0/datapoint/1/60/0/0/7/0 (actual boiler temperature)
Regards,
Nicolas
—
Reply to this email directly, view it on GitHub <#2 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AS56AMF6WOVLK7Z7SQBRYU3VJN5YBANCNFSM5S6XJ6UA> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi Nicolas, hi Stefan, I think this could be the InfoWin Touch Server. It's a control display with a network interface. It is connected to the LON Bus of the Heater and can identify all used components and read/set all values. The API functionality is the same as for the RC7030 but I also have values in this online interface where I do not see any labels for. I have written a simple python script which just pushes the values I am interested in to openhab REST API. But since last week my pi crashed and the backup of openhab was not really working out of the box (and I personally dislike Java), I am going to move over to HomeAssistant. @sarabanjina thank you for the HA addon, I will have a look how to make it work with the InfoWin Touch. The webinterface looks also identically: I see 3 different modules in the controller:
I had contacted windhager to get to know what the cryptic designation should mean and got following explanation in german:
Here is the complete script. It accesses all Items through If we look at the ID for the total pellet consumption ( 1/60/0/23/103/0) it's this structure: `import logging CONFIG = { "wHeater_state": "1/15/0/3/50/0", "wBuffer_state": "1/16/1/20/15/0", "wBurner_alarm": "1/60/0/2/0/0", POST_URL = "http://192.168.1.106:8080/rest/items/" for key in CONFIG: I will try to upload a tcpdump of the interaction with the interface. |
@stefeis congratulations, I just got the same control for my second windhager heater. Looks like they are now using off the shelf CAN-Bus Controllers with custom firmware to control the peripherals. The device which shows "Passwort eingeben" is actually this controller https://www.ta.co.at/x2-frei-programmierbare-regler/uvr610s-mit-modbus-schnittstelle. It runs a program flashed by windhager and thus has a password on it which is unkown. Everything can be set up using the CAN Monitor. The server which serves the nginx message is inside of your biowin heater. It can be accessed just like the older units, but is lacking the Web-UI. Furthermore this unit is only in charge of controlling of the heater and the buffer storage. Thus you can access all values associated to them, but no parameters like the Vorlauftemperatur. But for me it's sufficient to see the current pellet consumption and the temperatures of the buffer. I will try to add this functionality over christmas (hopefully got time 😆 ) Since I fear loosing local access to the api when using the Windhager App, I can not test out if my assumption that I can not see the parameters of the peripherals is correct |
thanks for your investigations :-) I also use the windhager app. right now windhager is trying to optimize my heater because it started up to 26 times a day... now we are at 19, hope it will get lower. I´m looking forward to you changes - if you find some time. don´t hurry, enjoy some silent days at home :-) |
@stefeis are you able to see values beyond the ones of the heater in the app? Like the outside temperature or the Vorlauftemperatur? Just had a look though all advertised functions and I can only see the heater and buffer values though the API. If you see more it could be valueable to checkout their app api? |
using the mobile app I see at "biowin": Reinigung (h), Hauptreinigung (h), Wartung (h), aktuelle Leistung (%), Kesseltemperatur, Kesseltemperatur Sollwert, Brennkammertemperatur, Abgastemperatur, Anzahl Brennerstarts, Brennstoffverbrauch gesamt (t), Befüllgrad Vorratsbehälter (%), Befüllgrad Lagerraum (%), Betriebsstunden (h), |
hi!
I got my windhager biowin 3 weeks ago and I was very happy to find an integration for HA but it doesn´t work for me and my knowledge in python = "0".
so I hope you can support me...
I´m running 2022.2.9, local connection is ok (also tested by browser).
all mycomfort entities are visible but not available.
that´s what I find at the log:
Logger: homeassistant.helpers.entity
Source: custom_components/mycomfort/mycomfortclient/myComfortGateway.py:163
Integration: myComfort Windhager integration (documentation, issues)
First occurred: 8. April 2022, 20:31:42 (10716 occurrences)
Last logged: 11:23:41
Update for sensor.mycomfort_biowin_2_pellet_consumption_since_bulk_fill fails
Update for sensor.mycomfort_biowin_2_pellet_consumption_total fails
Update for sensor.mycomfort_biowin_2_boiler_operating_time_cleaning fails
Update for sensor.mycomfort_biowin_2_boiler_operating_time_main_cleaning fails
Update for sensor.mycomfort_biowin_2_boiler_operating_time_maintenance fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 521, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 725, in async_device_update
raise exc
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/mycomfort/sensor.py", line 273, in update
self._state = self._sensorCONF_GETTER
File "/config/custom_components/mycomfort/sensor.py", line 77, in
CONF_GETTER: lambda api: api.getBoilerTemperature(),
File "/config/custom_components/mycomfort/mycomfortclient/myComfortBoiler.py", line 30, in getBoilerTemperature
return self._gateway.value("/1/" + self._id + "/0/" + self._gateway.oid("Boiler temp. actual value") + "/0")
File "/config/custom_components/mycomfort/mycomfortclient/myComfortGateway.py", line 163, in oid
id,subid = self._VarIdentTexte.getid(description)
TypeError: cannot unpack non-iterable NoneType object
thanks!
stefan
The text was updated successfully, but these errors were encountered: