Comments (2)
Figured out a work around. The mqtt.setDataPrefix() needs to be called before device.enableSharedAvailability() and device.enableLastWill(). Apparently the message gets buffered until the mqtt connection is made.
So I'm not really sure if this is an issue or just a call order requirement. This seems like a similar issue #13 in that the order in which you do things is important but but not clear by function naming. Maybe the best thing to so is to improve the example project so that its documented well in code.
from picow_homeassistant_starter.
Do the a-h-a project a solid, check their issues, and if this isn't already in there, document this with them, will ya? The author has gone quiet for the last year but he's put quite a bit of work in over time. If he gets time to come back to it, it would help him to know where the foot guns are.
from picow_homeassistant_starter.
Related Issues (14)
- Upload fails on Linux due to Mac-specific script in platformio.ini HOT 1
- Feature Request: Add pointer in HABaseDeviceType to a generic struct (or class) HOT 3
- analogWrite doesn't seem to work HOT 4
- Reconnect to router / HA after router power cycle. HOT 1
- HA MQTT Integration only discovers a single device. HOT 10
- [FEATURE] Enable Last Will and Testament HOT 2
- [SUGGESTION] Rename HAIntegration::configure() to either HAIntegration::begin() or HAIntegration::setup() HOT 1
- Build system question HOT 3
- Errors trying to compile HOT 3
- Error: Please specify `upload_port` for environment or use global `--upload-port` option. HOT 1
- Missing MQTT_LOGIN & MQTT_PASSWORD still indicates connected to MQTT broker. HOT 6
- Suggestion: Add note in HAIntegration.cpp HOT 3
- Extraneous MQTT Switch HOT 5
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 picow_homeassistant_starter.