Comments (5)
Found what was limiting the number of HASwitches and changed the maxDeviceTypeNB to resolve:
explicit HAMqtt(
Client& netClient,
HADevice& device,
const uint8_t maxDevicesTypesNb = 12
);
However I still have a extra non-responsive MQTT Switch
from picow_homeassistant_starter.
I'm wondering if this is not an issue in HA itself. When I added another HASwitch then removed it, it now appears in the settings but is no longer in code "FlowBot ABC". Maybe its a string left in the MQTT server.
from picow_homeassistant_starter.
Interestingly enough, the names of the Entity created is based on when I created the entity and what I was doing at the time of creation. That is to say they are named inconsistently and this may be related: For example:
Zone 3 was around before I figure out how to name the zones and get more than 6 switches so it got a generic name. Zone 4 was first created with a name after the max number of devices was created.
The two non-working switches have names associated with switches I created then removed while testing different confiturations:
I've tried to delete entities but I get this message:
Only 0 selected entities can be removed.
You can only remove 0 of the selected 1 entities. Entities can only be removed when the integration is no longer providing the entities. Sometimes you have to restart Home Assistant before you can remove the entities of a removed integration. Are you sure you want to remove the removable entities?
from picow_homeassistant_starter.
Good catch on maxDevicesTypesNb
. This is another one where I think you'll get further working directly with the maintainers of Arduino Home Assistant. This project is just an example to show how to get started using it. This issue, for example, came up just last week.
from picow_homeassistant_starter.
I'm pretty sure this is an issue with HA and the way MQTT caches messages. If I delete the device then the issue goes away.
Also, all the Entity ID's update to the correct names set in firmware.
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
- HAMqtt::etDataPrefix() misses some cases (avty_t = online) HOT 2
- 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
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.