Search found 3 matches

by mws
Wed Jan 25, 2017 5:02 pm
Forum: ESP8266 boards
Topic: Micropython docs - DHT
Replies: 7
Views: 12025

Re: Micropython docs - DHT

Sorry if I miss the point. I have a Adafruit Feather HUZZAH ESP8266 here and a DHT22 (same with DHT11). I have Micropython 1.8.6 and no libs installed, just my own (mylib). import machine def get_dht(): import dht at = dht.DHT22(machine.Pin(13)) at.measure() return(at.temperature(), at.humidity()) >...
by mws
Tue Nov 29, 2016 4:22 pm
Forum: Programs, Libraries and Tools
Topic: MQTT: c.connect() -> IndexError: bytes index out of range
Replies: 7
Views: 9402

Re: MQTT: c.connect() -> IndexError: bytes index out of range

At the beginning I had exactly the same error, but I cannot remember what really solved it. My current implementation speaks to "hbmqtt" and no more to mosquitto (might be one factor 3.1 vs. 3.1.1 mqtt, had some problems with mosquitto with different clients that I do not have with hbmqtt (+ the sec...
by mws
Mon Nov 14, 2016 8:13 pm
Forum: ESP8266 boards
Topic: The state of the community
Replies: 11
Views: 10530

Re: The state of the community

Sorry, if missing the topic! I am/was just a reader of this forum. Discovering micropython and the esp8266 was a real revelation for me. I am prototyping a greenhouse controller for a active/passive solar powered aquaponics hobby project and was more or less on the route to use as Raspberry Pi until...