forked from tasict/homebridge-http-accessory
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Track Status (History) #23
Comments
Hi Stefan,
this is possible of course but also out of scope.
…On Sun, 10 May 2020 at 11:58, Stefan-83 ***@***.***> wrote:
Hi,
my homebrigde gets the status of my rainsensor by using the HTTP-Output,
when using a http-request.
The status is "sn2" (0 or 1)
It works great with that configuration:
{
"accessory": "HttpAdvancedAccessory",
"service": "ContactSensor",
"name": "Rain Sensor",
"polling": "true",
"forceRefreshDelay": 5,
"debug": true,
"optionCharacteristic": [],
"urls": {
"getContactSensorState": {
"url": "http://192.168.178.98/jc?pw=passwort",
"mappers": [
{
"type": "jpath",
"parameters": {
"jpath": "$.sn2",
"index": "0"
}
},
{
"type": "static",
"parameters": {
"mapping": {
"ALARM": "1",
"NORMAL": "0"
}
}
}
]
}
}
}
Now I want to track the history of the status for the hole day/week/month.
*Is it possible after the status was queried, a script writes the current
status into a database?*
(I currently have openhab2 and iobroker running)
Any ideas? Thanks :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBP2MMJYP6GK7CLSN6RLADRQZ3ENANCNFSM4M5FQRRQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
my homebrigde gets the status of my rainsensor by using the HTTP-Output, when using a http-request.
The status is "sn2" (0 or 1)
It works great with that configuration:
Now I want to track the history of the status for the hole day/week/month.
Is it possible after the status was queried, a script writes the current status into a database?
(I currently have openhab2 and iobroker running)
Any ideas? Thanks :)
The text was updated successfully, but these errors were encountered: