Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status_url #71

Open
matzZz opened this issue Aug 18, 2017 · 5 comments
Open

Status_url #71

matzZz opened this issue Aug 18, 2017 · 5 comments

Comments

@matzZz
Copy link

matzZz commented Aug 18, 2017

Hi,
my status page looks like this:

WORKING or CHARGING

"status_on": "WORKING"
"status_off": "CHARGING"

in the config.json will not work.

how can i handle this?

@matzZz
Copy link
Author

matzZz commented Aug 21, 2017

Homebridge tell me:

[Staubsauger] Switch received power http://192.168.178.9:6260/st.html state is currently NaN
[Staubsauger] Setting power state to off
[Staubsauger] HTTP set power function succeeded!

here is my config.json

"accessory": "Http",
"name": "Staubsauger",
"switchHandling": "realtime",
"http_method": "GET",
"on_url": "http://192.168.178.9:6260/json.cgi?%7b%22COMMAND%22:%22CLEAN_START%22%7d",
"off_url": "http://192.168.178.9:6260/json.cgi?%7b%22COMMAND%22:%22HOMING%22%7d",
"status_url": "http://192.168.178.9:6260/st.html",
"status_on": "WORKING",
"status_off": "CHARGING",
"service": "Switch",
"brightnessHandling": "no"

@DJay-X
Copy link

DJay-X commented Aug 22, 2017

@matzZz To get it right, this config works for you? Do your power state is correct in Home or Eve App?
How do I get the st.html? I only have the status.html with a lot more lines in it. Although in first line is Robot-state: CHARGING

@matzZz
Copy link
Author

matzZz commented Aug 22, 2017

No it will not work. The http plugin tells "state is currently NaN"
Get I right that "status_on": "WORKING" tells the http plugin that WORKING means 1?

I wrote a separate status page. There is only one word on the page: WORKING, CHARGING, ...

@DJay-X
Copy link

DJay-X commented Jan 15, 2018

@matzZz Any news on this? Did you get this plugin to reflect the status of your robot? I assume you are using an LG HomBot like I do. :) 👍

@eneski
Copy link

eneski commented Mar 16, 2018

@matzZz Hallo, ich habe vergeblich überall gesucht wie ich das mit dem status hinkriegen kann, jedoch ohne Erfolg. Alles was ich machen will, ist dass sich der Status auch dann aktualisiert, wenn ich das ganze z.B. im Browser änder und nicht nur das der sich den letzten Status merkt den ich gesetzt habe. Bitte hilf mir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants