
Panda88
Members-
Posts
728 -
Joined
-
Last visited
Everything posted by Panda88
-
Correct - I meant to say that I do not believe the password resets the UAID etc (it has not in the past)
-
I am aware and on my list - I just got a beta for oauth support in the ISY needed to use the new API. I have not started to test it yet - I'll likely do another (simpler) nodeserver first before addressing the tesla one (I do not have a tesla to test on so I need to make sure I understand the use of the new oauth API before starting the tesla solution
-
I am trying to throttle the calls to match the new limits, but my count does not match what their server uses for throttling. Also if a device goes offline it shows up as being throttled ?? I did try to introduce a throttled state in each node, but not sure how well it works - There are likely still some bugs as the logic has had to be changed and that introduces bugs On the use of UAID - there is no relationship to the login - unless the reset the access when passwords are changed - you can likely see in the app if the password is revoked You can also send a log (PM) and I can take a look
-
I am not aware of any progress - there is a new cellular enabled HUB being released - there were rumors that it would support local API but I doubt it will be available at launch.
-
Hi I think all of these should be there already (besides RF level/strength) - I can add the RF strength but in my experience, it does not change if the devices are stationary (it should not). I cannot rule out there is a bug but it is intended to show this. Note, the node cannot keep testing to see if the device is off-line - as it only queries the cloud status (it would drain the battery if checking the device all the time), so I have to wait for a notification that the device is off line send from the cloud. Also, this is difficult to test as it does not happen often. If you can get me a log (debug mode enabled) showing when the device is offline I can see if it behaves like the node server expects (for offline status) There are 2 fields for battery and Status should show the connection status (Name may not be well chosen - I'll think about a better name next time I fix a bug) )
-
You may need invite from service@yosmart.com
-
If you are not trying to integrate YoLink onto an ISY, it is not the correct forum - there is a discord channel for Yolink - Yolink-power-user-group
-
I think the thinking should be - trust the YoLink temp sensor to send updates when something changes. Even if you query the temp sensor, I believe you only get data from the cloud - If you were to query the temp sensor for data, battery would run out faster and you would get no real extra info (as temperature has not changed). Note, there is an update every 1 hour (I believe it is) It may be possible to get info on when last temp sensor measurement was made but time is not handled easily in the ISY. I could look into it, but need to understand the use case. The node/device being on-line shoudl be a similar indicator - again - I do nto believe I can force a reading from the temp sensor - it is only reporting the cached data from the YoLink cloud server (as YoLink believe their device will send data when something changes)
-
The yolink sensors send updates when changes happen so updates (timing) depends on the situation. I doubt you need to do something extra in your case. I do not know the update rules for humidity but you could ask service@yosmart.com There is currently no difference between update and query - besides query can be rub at a higher level causing all devices to be queried
-
Can you message me you whole log. I can see if there is something happening before the issue?
-
You can also try a reinstall. It may install files again
-
Did you do a power cycle? Another option is to generate a new token in the yolink app If not i would open a ticket
-
I have seen this as well - on more than 1 node server - I have restarted polisy and it went away, Not sure what caused it
-
Are there any requirements to the configuration of the DSC alarm
Panda88 replied to Panda88's topic in EnvisaLink-DSC
I doubt it - unless the web interface which I assume is operating on a different port -
Hi I have 2 system setup. One is working flawless and the other has issues on and off. I though there may be issues with the envisalink so I ordered a new one but it remains the same. It sometimes will not start - it retrieves the system (all nodes etc so it must be talking to the envisalink) but when it comes to panel1 it states there is no connection - some times it manages to get by this state and I will work ok Any idea log: 2023-12-16 14:54:08,500 Thread-51 udi_interface DEBUG nslib:start: In start() for node panel1... 2023-12-16 14:54:08,502 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': '53aad9c8-a83b-4776-9cc5-bd7b5a272909', 'uuid': '00:0d:b9:52:d9:38', 'profileNum': 5, 'address': 'panel1', 'name': 'Alarm Panel', 'nodeDefId': 'PANEL', 'nls': None, 'hint': '16843008', 'controller': 0, 'primaryNode': 'panel1', 'private': None, 'isPrimary': 1, 'enabled': 1, 'timeAdded': 1677029040739, 'timeModified': 1702767248422, 'dbVersion': 1} 2023-12-16 14:54:32,144 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2023-12-16 14:54:32,146 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll 2023-12-16 14:54:32,147 Thread-52 udi_interface DEBUG evldscns:shortPoll: In shortPoll()... 2023-12-16 14:54:32,149 Thread-52 udi_interface INFO nodes:shortPoll: Establishing connection to EnvisaLink device... 2023-12-16 14:54:32,150 Thread-52 udi_interface DEBUG evltpi_dsc:_connect_evl: Connecting to EnvisaLink device... 2023-12-16 14:54:32,150 Thread-52 udi_interface DEBUG evltpi_dsc:_connect: In connect()... 2023-12-16 14:54:32,153 Thread-52 udi_interface DEBUG evltpi_dsc:_get_next_cmd_seq: In _get_next_cmd_seq()... 2023-12-16 14:54:32,154 Thread-52 udi_interface ERROR evltpi_dsc:_get_next_cmd_seq: TCP Connection to EnvisaLink unexpectedly closed. Socket error: [Errno 54] Connection reset by peer 2023-12-16 14:54:32,155 Thread-52 udi_interface ERROR evltpi_dsc:_connect_evl: Invalid sequence received from EnvisaLink upon connection: None 2023-12-16 14:54:32,157 Thread-52 udi_interface.node DEBUG node:setDriver: panel1:Alarm Panel Reporting set ST to 0 to Polyglot 2023-12-16 14:54:32,158 Thread-52 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2023-12-16 14:54:32,159 Thread-52 udi_interface WARNING nodes:shortPoll: Could not connect to EnvisaLink device at 192.168.2.223. 2023-12-16 14:54:32,160 Thread-52 udi_interface.custom DEBUG custom:__setitem__: CUSTOM: no_connect = Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver. ...saving 2023-12-16 14:54:32,161 Thread-52 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2023-12-16 14:54:32,163 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': 'panel1', 'driver': 'ST', 'value': '0', 'uom': 2, 'text': None}]} 2023-12-16 14:54:32,165 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'key': 'notices', 'value': {'no_connect': 'Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver.'}}]} 2023-12-16 14:54:32,449 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices 2023-12-16 14:54:32,451 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices 2023-12-16 14:54:32,452 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {'no_connect': 'Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver.'} 2023-12-16 14:54:32,453 Command udi_interface.custom DEBUG custom:load: CUSTOM: -- checking no_connect / Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver. 2023-12-16 14:54:32,489 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2023-12-16 14:54:32,492 MQTT udi_interface.interface INFO interface:_message: Successfully set panel1 :: ST to 0 UOM 2 2023-12-16 14:55:02,124 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2023-12-16 14:55:02,126 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll 2023-12-16 14:55:02,127 Thread-53 udi_interface DEBUG evldscns:shortPoll: In shortPoll()... 2023-12-16 14:55:02,129 Thread-53 udi_interface INFO nodes:shortPoll: Establishing connection to EnvisaLink device... 2023-12-16 14:55:02,130 Thread-53 udi_interface DEBUG evltpi_dsc:_connect_evl: Connecting to EnvisaLink device... 2023-12-16 14:55:02,131 Thread-53 udi_interface DEBUG evltpi_dsc:_connect: In connect()... 2023-12-16 14:55:02,133 Thread-53 udi_interface DEBUG evltpi_dsc:_get_next_cmd_seq: In _get_next_cmd_seq()... 2023-12-16 14:55:02,134 Thread-53 udi_interface ERROR evltpi_dsc:_get_next_cmd_seq: TCP Connection to EnvisaLink unexpectedly closed. Socket error: [Errno 54] Connection reset by peer 2023-12-16 14:55:02,135 Thread-53 udi_interface ERROR evltpi_dsc:_connect_evl: Invalid sequence received from EnvisaLink upon connection: None 2023-12-16 14:55:02,136 Thread-53 udi_interface.node DEBUG node:setDriver: panel1:Alarm Panel Reporting set ST to 0 to Polyglot 2023-12-16 14:55:02,137 Thread-53 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2023-12-16 14:55:02,138 Thread-53 udi_interface WARNING nodes:shortPoll: Could not connect to EnvisaLink device at 192.168.2.223. 2023-12-16 14:55:02,139 Thread-53 udi_interface.custom DEBUG custom:__setitem__: CUSTOM: no_connect = Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver. ...saving 2023-12-16 14:55:02,140 Thread-53 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2023-12-16 14:55:02,144 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': 'panel1', 'driver': 'ST', 'value': '0', 'uom': 2, 'text': None}]} 2023-12-16 14:55:02,147 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'key': 'notices', 'value': {'no_connect': 'Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver.'}}]} 2023-12-16 14:55:02,260 MQTT udi_interface.interface INFO interface:_message: Successfully set panel1 :: ST to 0 UOM 2 2023-12-16 14:55:02,302 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices 2023-12-16 14:55:02,305 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2023-12-16 14:55:02,305 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices 2023-12-16 14:55:02,308 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {'no_connect': 'Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver.'} 2023-12-16 14:55:02,309 Command udi_interface.custom DEBUG custom:load: CUSTOM: -- checking no_connect / Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver. 2023-12-16 14:55:32,130 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2023-12-16 14:55:32,131 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll 2023-12-16 14:55:32,133 Thread-54 udi_interface DEBUG evldscns:shortPoll: In shortPoll()... 2023-12-16 14:55:32,135 Thread-54 udi_interface INFO nodes:shortPoll: Establishing connection to EnvisaLink device... 2023-12-16 14:55:32,135 Thread-54 udi_interface DEBUG evltpi_dsc:_connect_evl: Connecting to EnvisaLink device... 2023-12-16 14:55:32,136 Thread-54 udi_interface DEBUG evltpi_dsc:_connect: In connect()... 2023-12-16 14:55:32,138 Thread-54 udi_interface DEBUG evltpi_dsc:_get_next_cmd_seq: In _get_next_cmd_seq()... 2023-12-16 14:55:32,139 Thread-54 udi_interface ERROR evltpi_dsc:_get_next_cmd_seq: TCP Connection to EnvisaLink unexpectedly closed. Socket error: [Errno 54] Connection reset by peer 2023-12-16 14:55:32,140 Thread-54 udi_interface ERROR evltpi_dsc:_connect_evl: Invalid sequence received from EnvisaLink upon connection: None 2023-12-16 14:55:32,142 Thread-54 udi_interface.node DEBUG node:setDriver: panel1:Alarm Panel Reporting set ST to 0 to Polyglot 2023-12-16 14:55:32,143 Thread-54 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2023-12-16 14:55:32,143 Thread-54 udi_interface WARNING nodes:shortPoll: Could not connect to EnvisaLink device at 192.168.2.223. 2023-12-16 14:55:32,144 Thread-54 udi_interface.custom DEBUG custom:__setitem__: CUSTOM: no_connect = Could not connect to EnvisaLink device. Please check the network and Custom Configuration Parameter values for the nodeserver. ...saving 2023-12-16 14:55:32,145 Thread-54 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot.
-
OK - I though you had the flow meter as well I believe this is the same API as the manipulator that is/was used to control valves before. The name of the node is what you specify in the YoLonk app (short of special characters) - the yomanipu is the manupulator driver. This shoudl work fine
-
My guess is it reports as 2 different devices - and one is the valve controller (manipulator). There is no API yet for the flow meter but hopefully it will come soon. Once it is available maybe you can give me access to your controller for 1/2 a day and I can likely add the support - I would buy my self, but they do not have my pipe diameter
-
Decided to make a new thread to add info on new releases rather than create anew one for each new release Info also exists in release notes 0.9.87 - Added more info for TH sensor alarms (and fixed bug). Improved node stare for multiOutput device if the device is off-line during start
-
you can get some functionality inside the ISY with Phyn using Alexa or IFTTT I have not seen the Yolink flow meter functionality, but I guess it does not offer the triggers for leak detection (yet) - it seems there is a lot of learning involved to understand if something is a leak or just normal water use. Otherwise you may get a lot of false triggers I have looked at buying the YoLink electronics for the flow meter by it self, but I have not found a compatible 1 1/4 flow meter yet (needs to read the 0.01 gallon meter/indicator) - can only find for - readers on the 0.1 galon meter/indicator
-
Sorry - forgot to update version number - should be there now
-
Updated to 0.9.85 - found a minor bug causing the delay of calls to start too early Checked the code once more - shortPoll does not update deviced with calls to YoLink servers (so it should not add to calls) - only LongPoll does an update - set shortPoll back to 5min Still seeing unexplained supression by YoLink servers - waiting to hear back from them
-
An updated release to deal with limitations YoLink has imposed on calls from node server to their server (it is not limiting responses from their server) Per the latest you can only call 100 times per 5 min, you can only call the same device 6 time in 1 min and you cannot call the same device within 200ms of a call - all using a rolling window. Note, a multiOutput device counts all outputs as the same device, so if updating/changing multiple outputs, please add 1sec wait between calls (code should delay calls, but to be sure). The code will now try to delay call to meet the above requirements, but if too many calls are issued simultaneously, it may not work (due to too many parallel threads). (Note, I do not think the YoLink limits work 100% correctly yet, so there are some limitations to what the code can handle - the code follows the rules above, but I cannot find the pattern to when it fails, and the issued error codes do not match what they tell me - may get fixed over time) In general one should be careful in not programming/updating the same device too often. Also - use of devices in scenes can become troublesome as calls are very close in time when changing a scene Increased the default shortPoll time to 10 min - suggest to change it if a lot of devices are used - The code spaces the calls to be 4 sec apart ShortPoll is only a safety precaution in case a MQTT packet from YoLink is missed causing the state in the node to be different than the YoLink server Fixed a bug when removing YoLink devices that are no longer registered (they get removed correctly now - I hope) Added a suspended variable to check against if calls to a device gets suspended.
-
Should be local - Any special reason for the delay?