ARCHIVED FORUM -- March 2012 to February 2022READ ONLY FORUM
This is the second Archived Forum which was active between 1st March 2012 and 23rd February 2022
Hello Automation lovers
I have a Biolock on my front door that has IP control (limited)
If i open a web browser / favorite of the below i can remotly unlock my front door for a number of seconds.
http://192.192.1921.192/dyn?login=&username=secret&password=secret2&button=Open+Door
Can i assign a link to a button that could appear in the app?
Eclipse 65V1-32Beosound M5Essence MK2BLI
Thank you
i assume I add a custom sting system and then the IP of the device with port.
do I add an event ?
Seanie_230:Thank you i assume I add a custom sting system and then the IP of the device with port. do I add an event ? Beovision 7 MKIV (Blu Ray) Beolab 9 Beolab 6000 Beo 4 Beocenter 9300 Apple TV SKY HD Optoma HD65 Projector Lintronic TT455-RT-238 Beovision 3 MKII
Hi there
thank you for the help
i have tried to create a button as the first step but don't have a good enough understanding yet
can anyone give me an idiot step by step to get started on how to create the button and then add a comment to it.
mjmedlo:Under resources go to virtual buttons. Then create your button The under systems create this ip lock as a custom string. Then under macro create a news to with this new virtual button triggering the custom string unlock. 👍. Good luck.
Then create your button
The under systems create this ip lock as a custom string.
Then under macro create a news to with this new virtual button triggering the custom string unlock.
👍. Good luck.
i created a virtual button under resources I created a button with LED
i went to systems and added a custom string called unlock it needs some info can anyone help?
it asks for end of line, host and port any thoughts ? Is end of line the URL to open the door or does that go in host?
Cheers all
Hi thrre
I have followed your instructions, i have created a virtual button under resources called Unlock this appears on every zone under scenes as Unlock.
I went to system and added a custom string called Unlock door with the below settings
where do i add the URL as i tried to put this in host but it does not allow it and changes the icon to red.
End of line says illegal character
Any if you lovely people want to help me with a team viewer session to get the door button working?
Seanie_230:Any if you lovely people want to help me with a team viewer session to get the door button working? Beovision 7 MKIV (Blu Ray) Beolab 9 Beolab 6000 Beo 4 Beocenter 9300 Apple TV SKY HD Optoma HD65 Projector Lintronic TT455-RT-238 Beovision 3 MKII
Try:
GET /dyn?login=&username=secret&password=secret2&button=Open+Door HTTP/1.1\0D\0A
or
GET /dyn?login=&username=secret&password=secret2&button=Open+Door HTTP/1.1\0D\0AHost: www.example.com\0D\0A
Beoworld app with direct photo upload and emoticons.
where do those commands get placed?
In resources > Custom String > Address
Then you call that resource in a macro.
Hi Phil
I have tried that with both of the samples you gave, I changed the username and password to match also with the host on the second one being the IP address.
2nd One
3rd Macro page
Looks OK to me...
PhilLondon: Looks OK to me...
When i hit fire macro it does not open the door.
If i use the original link from a browser it works.
I am sure i am probably missing something.
I just used capture to ensure i have the event correct and this added press and release.
It must be something to do with my custom string that sends the command to the door relay.
Frustrating but fun :)
hi there
yeah the door is conencted to ethernet and if i use IE the door unlocks using the URL
below is the monitor
does this look right:
That's what I found as well, but that's a bit more complex than that...
HTTP requests are TCP packets... so the BLGW can perfectly send requests (which should be executed, I made it happen with the Hue Bridge), however the HTTP server closes the connection just after executing the request.
The BLGW detects that the connection is broken and tries to re-establish the connection, without sending anything... the HTTP server being no HTTP request coming closes the connection... etc, etc...
I do not know if the MLGW has the same "auto connect" feature... But the only thing that B&O need to do is a setting to disable the auto-reconnection and then it'd be fine.
p.
Phil,
I have not had the problems of the unit trying to re-establishing connection on the MLGW. Is it possible that for the "type" of command you are using in the custom string that you are using the option "both ways" instead of "output"? I am using "output" for my custom strings and it does not try to re-establish a connection because it is not looking for an incoming signal. Also keep in mind that the custom string uses the old Telnet language and that you must enter the "content length" of the command.
Jeff
I think it's indeed a difference between the BLGW and MLGW.
Telnet isn't the issue. Only character 0xff is send in a special way, the rest it transmitted as is.
In my case the commands actually work, it's just that the BLGW goes into a loop and becomes really slow.
PhilLondon: I think it's indeed a difference between the BLGW and MLGW. Telnet isn't the issue. Only character 0xff is send in a special way, the rest it transmitted as is. In my case the commands actually work, it's just that the BLGW goes into a loop and becomes really slow.
Does the BLGW offer you the 3 options for the "type" of command that the MLGW does?:
1. Both ways
2. Input (match)
3. Output (command)
beojeff:Does the BLGW offer you the 3 options for the "type" of command that the MLGW does?
Yes.
Here's what's in the BLGW online help, on the Custom String page. Do you have that on the MLGW?
Read this section if you experience periodic TCP reconnections.
In order to rapidly detect broken TCP connections, BLGW uses the standard TCP Keepalive probes mechanism: when a TCP connection is idle, probe packets are sent periodically over the connection and an acknowledge is expected. The probe is an empty TCP packet with the request for acknowledge flag set.
This method for detecting active connections is specified in RFC-1122 section 4.2.3.6.
There are products with non-compliant TCP implementations which do not respond to these acknowledge requests. In such cases, HAGW will detect a broken TCP connection and reconnect. This may happen as frequent as every 20 seconds if there is no other data on the communication channel.
If you experience this problem, then you must somehow force some data to be sent back to HAGW periodically, so as to keep the channel active.
For example, you can use a clock event to send a status request to the 3rd party product periodically, or a ping/pong message. On command-line based protocols that echo all characters typed, probably sending a carriage return character is enough for getting data back to BLGW.
What to do strongly depends on the protocol of the external system.
PhilLondon: beojeff:Does the BLGW offer you the 3 options for the "type" of command that the MLGW does? Yes. Here's what's in the BLGW online help, on the Custom String page. Do you have that on the MLGW? TCP connection maintenance Read this section if you experience periodic TCP reconnections. In order to rapidly detect broken TCP connections, BLGW uses the standard TCP Keepalive probes mechanism: when a TCP connection is idle, probe packets are sent periodically over the connection and an acknowledge is expected. The probe is an empty TCP packet with the request for acknowledge flag set. This method for detecting active connections is specified in RFC-1122 section 4.2.3.6. There are products with non-compliant TCP implementations which do not respond to these acknowledge requests. In such cases, HAGW will detect a broken TCP connection and reconnect. This may happen as frequent as every 20 seconds if there is no other data on the communication channel. If you experience this problem, then you must somehow force some data to be sent back to HAGW periodically, so as to keep the channel active. For example, you can use a clock event to send a status request to the 3rd party product periodically, or a ping/pong message. On command-line based protocols that echo all characters typed, probably sending a carriage return character is enough for getting data back to BLGW. What to do strongly depends on the protocol of the external system.
Yikes. That all seems unnecessarily complicated! There are no such problems on the MLGW. It seems that the only thing lacking on the MLGW is the menu on some newer products. The built-in Philips Hue support on the BLGW is very primitive. I was considering getting a BLGW, but I'll stay with the MLGW for now. It's solid and works. The custom strings to control Philips Hue scenes work flawlessly.
So what we've learned is... The BLGW's Custom String cannot be used for HTTP queries, while the MLGW can. At least with the current version of the software.
What I keep saying is that the BLGW shouldn't be used as a home automation system. Choose a home automation system that does what you need and interface the two (you need a driver or need to develop one).
PhilLondon:What I keep saying is that the BLGW shouldn't be used as a home automation system. Choose a home automation system that does what you need and interface the two (you need a driver or need to develop one.
Hi!
To send a http command was also with the „old“ firmware possible. (more on the try and error side) Can you explain how the new beta make the creation better/easier?
BS Ouverture, BS 9000, AV 9000, Avant 32 DVD, BV9, BV6-22, BS 5, BS 4500, BS 7000, BC 9500, Beo6, BL Penta, F1000, BLGW, etc....
sounds exciting. thank you!
okay, now wait for the release.