Giter Site home page Giter Site logo

esp8266's People

Contributors

cchaz003 avatar itkindaworks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp8266's Issues

MQTT username and passowrd?

Hi,
I am using mqtt server with username and password.
Can you please include mqtt username,pass option in your doorNode.ino sketch?

Thanks in advance,

callback was not declared in this scope

Hi,

i copy paste your code and change the mqtt and ssid and password info. however when i try to compile with the latest arduino ide i get the following error althoug it is on the code:

mqtt:25: error: 'callback' was not declared in this scope
 PubSubClient client(MQTT_SERVER, 1883, callback, wifiClient);
                                        ^
exit status 1
'callback' was not declared in this scope

Cannot connect to MQTT SERVER

I cannot connect to MQTT Server because I don't know
#define MQTT_SERVER "YOUR.MQTT.SERVER.IP"

I tried to run and got the message from Serial:

Attempting MQTT connection...	Failed.
Abort called

ctx: cont 
sp: 3ffefc30 end: 3ffefe40 offset: 01b0

>>>stack>>>
3ffefde0:  3ffeedec 3ffeebbc 3ffeeae8 4020225a  
3ffefdf0:  00000000 00000000 00000000 3fff0dc4  
3ffefe00:  0000001f 00000019 3de83a2c 3ffeafef  
3ffefe10:  3fffdad0 00000000 3ffeee10 402022ca  
3ffefe20:  feefeffe feefeffe feefeffe 402043f8  
3ffefe30:  feefeffe feefeffe 3ffeee20 40100a2c  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(1,6)


 ets Jan  8 2013,rst cause:4, boot mode:(1,6)

wdt reset

Please help me.

Metro.h?

Yout ESPHelper.h includes Metro.h, but there's hundreds of variations of Metro.h in the wild. Why don't you provide your version in the git??

It works partly

Hey, i ran into an issue this day. I installed everything like you. The Servers are working. I checked it via mosquitto-sub. Node js sends the Right commands, but the esp is ignoring it. Also it ignores the mood mode After no wifi connection. But the color Test works Fine. The ESP 8266 is on an wemos d1 Mini and it was Flashed with the wemos settings. So what could be the issue here?
Thanks for help

error upload

Error : espcomm_open_failed etc

can u hellp me, about this error?

Attempting MQTT connection...failed, rc=-2

Hey hi, Thank you for the awesome guide to connect esp8266 to raspberry pi using mqtt.
Please excuse me, as I'm new to all this stuff , I'm unable to connect my esp8266 module to raspberry pi. I tried this whole week and googled tried by best , but couldn't able to rectify the issue.
It will be failed to connect to raspberry pi server.
I followed as it is from your youtube video guide https://www.youtube.com/watch?v=PgsH43Tpqjc&t=46s
I made the necessary changes too in the code as discribed.
Nothing I changed in the coding part except adding the client state to know the issue.

Attempting MQTT connection...failed, rc=-2
This is what I get when trying to connect

Please help me with this.
A little help will be appreciated

Thank you

Callback was not decleared

I downloaded it
i have installed the esp board lib.
but when i try to compile i say that call back is not decleared at this line.
PubSubClient client(MQTT_SERVER, 1883, callback(), wifiClient);
arduino ide 1.6.9

client.loop_forever() error !!!!!

Traceback (most recent call last):
File "test.py", line 26, in
client.loop_forever()
File "/home/pi/paho-mqtt/lib/python3.4/site-packages/paho/mqtt/client.py", line 1481, in loop_forever
rc = self.loop(timeout, max_packets)
File "/home/pi/paho-mqtt/lib/python3.4/site-packages/paho/mqtt/client.py", line 1003, in loop
rc = self.loop_read(max_packets)
File "/home/pi/paho-mqtt/lib/python3.4/site-packages/paho/mqtt/client.py", line 1284, in loop_read
rc = self._packet_read()
File "/home/pi/paho-mqtt/lib/python3.4/site-packages/paho/mqtt/client.py", line 1849, in _packet_read
rc = self._packet_handle()
File "/home/pi/paho-mqtt/lib/python3.4/site-packages/paho/mqtt/client.py", line 2305, in _packet_handle
return self._handle_publish()
File "/home/pi/paho-mqtt/lib/python3.4/site-packages/paho/mqtt/client.py", line 2500, in _handle_publish
self._handle_on_message(message)
File "/home/pi/paho-mqtt/lib/python3.4/site-packages/paho/mqtt/client.py", line 2647, in _handle_on_message
self.on_message(self, self._userdata, message)
File "test.py", line 14, in on_message
print(msg.topic+" "+str(msg.payload))
File "/home/pi/paho-mqtt/lib/python3.4/site-packages/paho/mqtt/client.py", line 360, in topic
return self._topic.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 31: invalid continuation byte

relayLight_accessory.js

hi there,

Thank you for your videos on youtube and making this code available.

My issue is:

I’ve setup a homekit fan accessory using a raspberry pi, HAP-NodeJS, MQTT and a sonoff.

It works fine but the one problem i’ve got with it is the status on the home app not showing correctly. When I turn the fan accessory ON the status in the home app my iOS device is correct and shows it’s ON.

BUT if I leave it on for a while then go back into the home app is shows it’s OFF even though the accessory is still ON???

I switch it ON then OFF again and it turns OFF.

I used your relayLight_accessory.js code but modified a few lines to make it look like a fan accessory.

I don’t really have any experience with javascript (or coding in general for that matter) so don’t know if there is something else in the code that could be the problem with the status not showing correctly.

Any help would be appreciated.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.