HOME
NEWS
REVIEWS
FEATURES
FILES
FORUMS
Philips Pronto Professional Forum - View Post
Find remotes at:
Read more news »
Acoustic Research Xsight Touch ARRX18G
Sony PlayStation 3 Advanced Control Roundup
Pinnacle PCTV HD Pro Stick HDTV Tuner
Universal Remote Control Inc. Digital R50
[
SEARCH
]
[
CONTACT
]
The following page was printed from RemoteCentral.com:
Forums
>
Professional
>
Philips Pronto Professional
View Single Message
Login:
Pass:
Register
Forum Search
Login
Original thread:
Interfacing Pronto with Hubitat
Post 2
made on
Friday March 18, 2022
at
17:04
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
View Profile
you are missing 2 http headers
host header and possibly a connection header.
Connection: close\r\n
Host: 192.168.70.100\r\n
I don't think you will need to URL-encode your token (did some initial sleuthing).
Try this:
socket.write("GET /apps/api/150/devices/1153/on?access_token=a43ebdcb-bc49-4a37-a419-b30304277ed6 HTTP/1.1\r\nHost: 192.168.70.100\r\nConnection: close\r\n\r\n")
you are missing 2 http headers host header and possibly a connection header. Connection: close\r\n Host: 192.168.70.100\r\n I don't think you will need to URL-encode your token (did some initial sleuthing). Try this: socket.write("GET /apps/api/150/devices/1153/on?access_token=a43ebdcb-bc49-4a37-a419-b30304277ed6 HTTP/1.1\r\nHost: 192.168.70.100\r\nConnection: close\r\n\r\n")
Lyndel McGee
Philips Pronto Addict/Beta Tester
View Code
View Normal
View the original thread...
©1998-2024, Daniel Tonks. All rights reserved.
Contact
|
Advertise
Home
|
News
|
Reviews
|
Features
|
Files
|
Forums
|
Search