lagunacomputer / homebridge-MotionSensor

HomeBridge HomeKit Plugin for arduino based PIR motion sensors
23 stars 14 forks source link

url #2

Open imperialjoy opened 7 years ago

imperialjoy commented 7 years ago

HI,

Thanks for making this. What sort of information is supposed to be returned by the URL? What is the format for motion detected or not detected?

lagunacomputer commented 7 years ago

ummm, its HomeBridge or the homebridge html plugin format? xml or something dunno try reading the code or loading up the sketch

{temperature:x,humidity:x, ............

client.print("{"); client.print("\"temperature\":"); client.print(temperatureIndoor); client.print(","); //client.print("\"humidity\":"); //client.print(temperatureOutdoor); //client.print("}"); //client.println(); //client.print(","); //client.print("{"); client.print("\"lightval\":"); client.print(photocellReading); client.print(","); client.print("\"pirval\":"); client.print(pirReading); //client.print("True"); client.print("}"); client.println();

On Thu, May 25, 2017 at 2:24 AM, imperialjoy notifications@github.com wrote:

What sort of information is supposed to be returned by the URL? What is the format for motion detected or not detected?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lagunacomputer/homebridge-MotionSensor/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ADqL6sE7N_mJERwqz-_gtSBhY94iRc-Zks5r9UjjgaJpZM4NmJ5O .

-- Galen Wollenberg Laguna Computer 949-813-3691 lagunacomputer@gmail.com

lagunacomputer commented 7 years ago

https://www.instructables.com/id/HomeKit-HomeBridge-Siri-Enabled-Arduino-ESP8266-No-1/

On Thu, May 25, 2017 at 2:24 AM, imperialjoy notifications@github.com wrote:

What sort of information is supposed to be returned by the URL? What is the format for motion detected or not detected?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lagunacomputer/homebridge-MotionSensor/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ADqL6sE7N_mJERwqz-_gtSBhY94iRc-Zks5r9UjjgaJpZM4NmJ5O .

-- Galen Wollenberg Laguna Computer 949-813-3691 lagunacomputer@gmail.com