Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

unsupported operand type(s) for 'in': 'NoneType' and 'EnumType' #53

Open
giuliandenicola1 opened this issue Aug 28, 2024 · 0 comments
Open

Comments

@giuliandenicola1
Copy link

giuliandenicola1 commented Aug 28, 2024

Hi, the only thing I can say about this is that is doesn't work. It might be that my device isn't supported? Any thoughts?

https://nl.aliexpress.com/item/1005005256066449.html?spm=a2g0o.order_list.order_list_main.5.27f979d2FJY2Ne&gatewayAdapt=glo2nld

pi@raspberrypi:~ $ plantgateway
Wed, 28 Aug 2024 15:10:55 INFO PlantGateway version 0.7.0
Wed, 28 Aug 2024 15:10:55 INFO loaded config file from /home/pi/.plantgw.yaml
Wed, 28 Aug 2024 15:10:55 INFO Getting data from sensor “Flower Care 1”
Wed, 28 Aug 2024 15:11:26 INFO Getting data from sensor “Flower Care 1”
Wed, 28 Aug 2024 15:11:26 ERROR could not read data from 5C:85:7E:12:ED:39 (“Flower Care 1”) with reason: unsupported operand type(s) for 'in': 'NoneType' and 'EnumType'
Wed, 28 Aug 2024 15:11:26 WARNING fail_silent is set for sensor “Flower Care 1”, so not raising an exception.
Could not get data from 1sensor(s): “Flower Care 1” (fail silent).
Traceback (most recent call last):
File "/usr/local/bin/plantgateway", line 27, in
main()
File "/usr/local/bin/plantgateway", line 20, in main
pg.stop_client()
File "/usr/local/lib/python3.11/dist-packages/plantgw/plantgw.py", line 190, in stop_client
self.mqtt_client.loop_stop()
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'loop_stop'
pi@raspberrypi:~ $

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

No branches or pull requests

1 participant