Comments (3)
Can you check the MQTT log to see if it is connecting to the MQTT broker?
If it is then it's likely to be a topic related issue.
Did you make sure to set the topic etc in the code?
It's taken me a while to get my head round how MQTT works.
In my code I have:
const char* light_state_topic = "bed/lights";
const char* light_set_topic = "bed/lights/set";
Which translates to my Home Assistant light config as:
- platform: mqtt_json
name: "Headboard LEDs"
state_topic: "bed/lights"
command_topic: "bed/lights/set"
from esp-mqtt-json-digital-leds.
I had this same issue. Turned out my light strip was bad.
Maybe try ordering this and see if your light strip is good.
https://www.amazon.com/gp/product/B01DC0JKGY/ref=oh_aui_detailpage_o01_s01?ie=UTF8&psc=1
from esp-mqtt-json-digital-leds.
If you open the serial monitor in the Arduino IDE, when you send requests from HA, you will see the activity.
Check if the DATA_PIN used is correct
from esp-mqtt-json-digital-leds.
Related Issues (20)
- OTA not working HOT 1
- ArduinoJSON Library has breaking changes. HOT 4
- inconsistent colors HOT 2
- Compiling error 'StaticJsonBuffer' was not declared in this scope HOT 2
- LEDs will not light up with this script. MQTT works, Circuit tested with another script and works HOT 3
- Lights turning off/freezing (already tried encor50's fix).
- Last Will Message - Availability HOT 5
- Problem with Home Assistant HOT 2
- Animation Freezes upon internet/wifi disconnection HOT 1
- MQTT_MAX_PACKET_SIZE in PubSubClient 2.7.0
- Only Lightning/Dots effects not working properly
- Outdated codes and not getting the leds to turn on
- Home Assistant Integration HOT 1
- ESP8266 realted
- Decrease brightness when switching the effect to solid
- how do i get rid of this
- Cyclon rainbow crashing MQTT HOT 11
- Incorrect colors HOT 1
- Animation speed not working HOT 3
- Need help, strip not lighting up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-mqtt-json-digital-leds.