Comments (3)
Interesting. I have five units, all on the same firmware. Two of them will not show up in HA, even after rebooting the units. I wonder if this would fix that? The web UI on both works fine.
from mitsubishi2mqtt.
Rebooting the unit will reset lastmqttretry and millis back down to 0 which makes the original logic valid again, so if those units are not reconnecting after a reboot it shouldn't be this particular bug unless there is more to it.
Off topic for this ticket, but out of curiosity, on the unconnected units status page, do you also get MQTT status of -4 or something else? That may provide more clues for your particular issue.
-4 : MQTT_CONNECTION_TIMEOUT - the server didn't respond within the keepalive time
-3 : MQTT_CONNECTION_LOST - the network connection was broken
-2 : MQTT_CONNECT_FAILED - the network connection failed
-1 : MQTT_DISCONNECTED - the client is disconnected cleanly
0 : MQTT_CONNECTED - the client is connected
1 : MQTT_CONNECT_BAD_PROTOCOL - the server doesn't support the requested version of MQTT
2 : MQTT_CONNECT_BAD_CLIENT_ID - the server rejected the client identifier
3 : MQTT_CONNECT_UNAVAILABLE - the server was unable to accept the connection
4 : MQTT_CONNECT_BAD_CREDENTIALS - the username/password were rejected
5 : MQTT_CONNECT_UNAUTHORIZED - the client was not authorized to connect
from mitsubishi2mqtt.
@brackw Nope, signing into that device directly, the Status page shows:
"MQTT Status ==> CONNECTED ( 0 )"
It's so strange.
from mitsubishi2mqtt.
Related Issues (20)
- After updating I can't setup temperature anymore HOT 8
- OTA update resets config HOT 6
- "Discovered MQTT entities with a name that is equal to the device name" (Home Assistant Warning) HOT 2
- Upgrade from 0.7.3 fails HOT 2
- Wemos d1 mini v2 HOT 2
- Custom packet max size
- Fan speed 4 issue - compressor frequency
- [FR] RSSI and HVAC status via MQTT
- Issue on initial setup
- HVAC connection stuck HOT 2
- openHAB MQTT Channel Autodiscovery not working cause name=null HOT 2
- MSZ-HR25VF - D1 Mini Clone - HA Constantly being unavailable HOT 4
- Syslog integration?
- Homeassistant mqtt Mitsubishi HOT 2
- Config allows illegal characters to be used in “Friendly name”
- some pieces of code in mitsubishi2mqtt.ino that implement delay by comparing to millis() can be improved to work better on a wrap
- Led blinking HOT 1
- Connection Problem HOT 2
- Stopped working all of the sudden HOT 1
- Pinouts for using this project on a ESP32-WROOM-32? HOT 9
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 mitsubishi2mqtt.