Comments (13)
Same problem here.
from hfeasy.
Hi, It might be stupid but did you press the "Commit values" and then "Save to flash and reboot?"
from hfeasy.
Hi @ljalves , I promise I have :)
And the values do get saved, as I see them in the fields after reboot.
But in the status page I always get "MQTT server: Disconnected" even if I'm sure my mosquitto server is up and running, and the data I enter is correct.
Thanks!
from hfeasy.
I also use mosquitto without any issue. Can you check(paste here) mosquitto log while you reboot the module?
Usually located at:
/var/log/mosquitto/mosquitto.log
from hfeasy.
For me the issue was that my password for mqtt was too long (64 Chars), now I have 25 chars and it works!
from hfeasy.
Interesting... never thought on that and now looking at the code I can see that I only have a max. of 30 chars for password... do you think I should make it bigger?
from hfeasy.
Hmh I think the length is okay, sure always is bigger better but 30 is good enough. On the other hand if it is possible to make it bigger than why not do it :) ?
from hfeasy.
Hi, I've flashed an Ankuoo NEO with PLUG UPGRADE. Then with MQTT, I've liked it to Home Assistant as a switch and works (I'm able to turn on and off). The issue is that when I press the switch, the light turn on but on HA the switch toggle off after few seconds. Then to turn it off I need to turn on again the switch and rapidly turn it off. It seems that the switch is unable to return the state to home assistant and for that reason it toggle off on Love UI.
My setup on the http://192.168.XX.YY/config_mqtt is:
Server IP: 192.168.XX.XX /
Server Port: 1883
usr: username
psw: ****
sub_topic: cmnd/abatjour/POWER
pub_topic: stat/abatjour/POWER
QOS: 0
ON value: 1
OFF value 0
The setup on Home Assistant configuration.yaml is:
switch:
-platform: mqtt
name: "light"
command_topic: "cmnd/abatjour/POWER
state_topic: "stat/abatjour/POWER
payload_on: "1"
payload_off: "0"
retain: false
Actually I've made tons of attempts changing the value of qos, retain and tried adding other value to HA configuration like availability topic etc.
Someone can help me?
from hfeasy.
"Ankuoo NEO"? That plug is not on the "supported hardware" list... does it work?? (apart from the issue with the state).
What's the plug reference model number? SW5101?
About your issue, several things can be going wrong.
Check this:
- Check the "timer" config page (http://ip/timer). Is there any OFF timer configured?
- Check the "status" page (http://ip/status):
- Here you can also see the timer status (if it is waiting on something).
- Then check the module uptime (something is causing a reset) and if it is check the reset reason.
- Check the GPIO status "last changed" and see what caused the module to turn off.
Post here your results.
from hfeasy.
Hi,
yes it worked, I've given it a try and it seems to work, the reference model should be hf-lpb100, it's the number on top left in web interface berfor flashing the software.
- no there aren't any OFF timer configured
- yes I used the status page to check if homeassistant is able to control the switch and it does:
- both timers (on and off) are disabled
- the uptime seems to work properly
- the gpio status respect the reality (the light is on)
I'll attach a screenshot to be sure:
from hfeasy.
If this status page AFTER turning itself OFF "automatically"?
If not, then you really need to check the status page AFTER the switch turns OFF (for no reason) to find out what caused it.
from hfeasy.
By the way, the reference model is printed in the sticker at the back (not asking for the wifi module model).
Should be something like: SW6201 or SW7201
from hfeasy.
By the way, this is more like the issues described on #9
I'll close this one and re-open that issue - please reply here: #9
from hfeasy.
Related Issues (20)
- HF LPB130 switch to 0 when go to http://<deviceip>/state HOT 1
- Missing Countdown menu HOT 3
- Flashing HFEASY and going back to original firmware HOT 1
- /config and /state sending "ERROR:404 Not Found" HOT 3
- no function after 1.1 update and restart HOT 1
- Ankuoo NEO keep rebooting HOT 1
- Ankuoo Rec on 1v1 goes offline HOT 2
- Timer switches it on/off even though I hve no timers set-up HOT 1
- Retrieve device MQTT state after broker reboot HOT 2
- Keeps showing up in Home Assistant (OS) as unavailable until i reboot the plugs HOT 4
- Add support for Ankuoo/Lumitek/Basetech sw6811* HOT 1
- Can't upgrade to v 1.1 HOT 2
- Homeassistant integration
- Possible to support Mill heaters through the HF-LPT120A? HOT 1
- Installation on LPT100F based Smart Plug
- Build instructions
- Dump Original Firmware LBP-100 HOT 1
- Device reset to AP mode, how can i reconfigure it? HOT 1
- Cannot see iweb.html HOT 3
- How to flash? HOT 1
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 hfeasy.