This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Listen to bus on website
#22
Websocket running beta firmware works perfectly, I'm using the following two functions a lot on my intranet


Code:
// listen to a single object
localbus.listen('object', '1/1/1', function(value) {

____________________

localbus.write('1/1/1', true);

and it is very quick, more reliable and easier to maintain than long polling. I am VERY HAPPY with this new solution. Thank you admin for providing me with the beta firmware, very much appreciated!!!


I haven't had time to look into the below code, seems it returns an object, e.g. array.


Quote:  // listen to all groupwrite telegrams
  localbus.listen('groupwrite', function(event) {
    console.log(event);
  });

I haven't found any issue with the beta firmware up to now, the update process worked perfectly without erasing scripts or any other settings (Router, NTP, etc.). All of my scripts (event based, resident, scheduled) still work as before.

We are using the following EnOcean device
http://nodon.fr/enocean/the-soft-remote-...s-pile_2-1
to control lights and shutters and it seems to me that with the new beta firmware the device commands are executed much more reliably. We used to need to click mutiple times before a command like "all lights off" was executed. Now it only takes one click. Could be that this is pure coincidence, maybe admin can tell us if there were changes to the EnOcean code. On a side note, since my Logic Machine sits in the cellar, the antenna is not in a optimal position.

Again thanks to openrb for providing me with the beta firmware so quickly, keep up the great work! LOVE the Logic Machine!
Robin
Reply


Messages In This Thread
Listen to bus on website - by RSV4 - 23.12.2016, 17:45
RE: Listen to bus on website - by RSV4 - 23.12.2016, 18:38
RE: Listen to bus on website - by admin - 24.12.2016, 15:05
RE: Listen to bus on website - by RSV4 - 27.12.2016, 11:09
RE: Listen to bus on website - by admin - 28.12.2016, 11:32
RE: Listen to bus on website - by ceyhanc - 28.12.2016, 12:29
RE: Listen to bus on website - by admin - 03.01.2017, 11:26
RE: Listen to bus on website - by ceyhanc - 03.01.2017, 13:51
RE: Listen to bus on website - by RSV4 - 03.01.2017, 14:51
RE: Listen to bus on website - by admin - 03.01.2017, 15:48
RE: Listen to bus on website - by RSV4 - 03.01.2017, 16:13
RE: Listen to bus on website - by RSV4 - 03.01.2017, 21:31
RE: Listen to bus on website - by admin - 04.01.2017, 07:24
RE: Listen to bus on website - by admin - 04.01.2017, 09:01
RE: Listen to bus on website - by RSV4 - 04.01.2017, 20:21
RE: Listen to bus on website - by admin - 05.01.2017, 10:57
RE: Listen to bus on website - by RSV4 - 05.01.2017, 11:10
RE: Listen to bus on website - by admin - 05.01.2017, 11:24
RE: Listen to bus on website - by RSV4 - 05.01.2017, 11:51
RE: Listen to bus on website - by RSV4 - 08.01.2017, 09:38
RE: Listen to bus on website - by admin - 08.01.2017, 11:02
RE: Listen to bus on website - by RSV4 - 08.01.2017, 21:08
RE: Listen to bus on website - by admin - 02.10.2017, 09:51
RE: Listen to bus on website - by Fahd - 08.09.2023, 12:37
RE: Listen to bus on website - by admin - 08.09.2023, 12:38
RE: Listen to bus on website - by Fahd - 08.09.2023, 12:48

Forum Jump: