Skip to content
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

argument of type <int/float> is not iterable #2

Open
thomahawk72 opened this issue Nov 19, 2024 · 5 comments
Open

argument of type <int/float> is not iterable #2

thomahawk72 opened this issue Nov 19, 2024 · 5 comments

Comments

@thomahawk72
Copy link

Venus OS: V3.51
Pi4
Sensor: ESP32 and INA219 for testing purposes

I followed the install sequence as written. The service is running ok, as it seems.
My sensor is publishing mtqq to Venus OS broker and I can successfully see messages coming in using Mqtt Explorer.

image

Setting logging level to DEBUG gives me:
image

In Venus GUI I cannot see any sensors - either in the settings or in the overview. What am I missing?

@mr-manuel
Copy link
Owner

Please try the nightly version. It will be released shortly as stable.

@keeskode
Copy link

keeskode commented Nov 19, 2024

I have the same error even on the nightly version:

2024-11-19 21:07:20.804738500 INFO:root:Waiting 5 seconds for receiving first data...
2024-11-19 21:07:21.594367500 ERROR:root:Received message is not valid. Check the README and sample payload. argument of type 'float' is not iterable
2024-11-19 21:07:21.595132500 DEBUG:root:MQTT payload: '13.600000381469727'
2024-11-19 21:07:21.597506500 ERROR:root:Received message is not valid. Check the README and sample payload. argument of type 'float' is not iterable
2024-11-19 21:07:21.598193500 DEBUG:root:MQTT payload: '13.600000381469727'
2024-11-19 21:07:22.081899500 ERROR:root:Received message is not valid. Check the README and sample payload. argument of type 'float' is not iterable
2024-11-19 21:07:22.082882500 DEBUG:root:MQTT payload: '13.609999656677246'
2024-11-19 21:07:22.097212500 ERROR:root:Received message is not valid. Check the README and sample payload. argument of type 'float' is not iterable
2024-11-19 21:07:22.097223500 DEBUG:root:MQTT payload: '13.609999656677246'
^C

The service seems to restart though as well every 60-80 seconds

@keeskode
Copy link

When trying just with payload 12 it also doesn't work, now no 'float' error but 'int' error

2024-11-19 21:19:01.758736500 INFO:root:Waiting 5 seconds for receiving first data...
2024-11-19 21:19:06.762087500 INFO:root:Waiting 5 seconds for receiving first data...
2024-11-19 21:19:09.958013500 ERROR:root:Received message is not valid. Check the README and sample payload. argument of type 'int' is not iterable
2024-11-19 21:19:09.959692500 DEBUG:root:MQTT payload: '12'

@mr-manuel mr-manuel reopened this Nov 19, 2024
@mr-manuel
Copy link
Owner

Did you reboot once, just to be sure?

@keeskode
Copy link

Yes I did, did it twice now. Doesn't help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants