Jump to content

garybixler

Members
  • Posts

    1021
  • Joined

  • Last visited

Everything posted by garybixler

  1. Not sure if I understand but if you just want to copy a tag temperature to a variable you would need to do this. If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $Tag_Temp = 'Polisy Nodes / Tags / Home / 0 Test' Temperature °F Else - No Actions - (To add one, press 'Action') Also if you wanted to save it so that it won't be lost on a reboot you could add this line. Then $Tag_Temp = 'Polisy Nodes / Tags / Home / 0 Test' Temperature °F $Tag_Temp Init To $Tag_Temp Else - No Actions - (To add one, press 'Action')
  2. I would be concerned using a relay directly connected to the circuit without having a fly back diode especially with micro circuits.
  3. True but what I am seeing is that the 'tag voltage' can't be equaled into a variable which leads me to think that it is a non-numerical value. All the other numerical tag values can be equated. Doing the following seems to be ignored with no value entered. $Tag_Voltage = 'Polisy Nodes / Tags / Home / 0 Taga' Battery Voltage. Using different precisions has no effect either.
  4. Unfortunately I think that the 'tag voltage' is being seen as text rather than a number because a variable can't be set to equal it unlike the other numerical values. So the 'tag voltage' could never be compared to a variable. At least that is what I am seeing after doing some testing.
  5. If you just do a run using either the then or the else setting your variable to the tag voltage you may see that it is not corresponding. Temp and battery level works but it seems that voltage loads a different number. Some tag values expressed as raw don't seem to load the correct number into the variable. Else $Tag_Voltage = 'Polisy Nodes / Tags / Home / 0 Taga' Battery Voltage
  6. @auger66 Hi my network resource is set to 'tcp' , 'Host ' Your Somfy MyLink IP, 'port' 44,100 , 'Mode' Raw Text body: {"method":"mylink.move.up","params":{"auth":"myhome","targetID":"CC10847C.1"},"id":1} The three commands I have are mylink.move.up, mylink.move.down and mylink.move.stop. The targetID is found in the APP. The channel is determined as the last number in 'CC10847C.1'. In this case 1 is the channel. Auth I think is what you call your remote in the APP Gary
  7. I just tried 16 and the time values are displayed at that font size. That works out perfectly. Font size 14 must be an exception. Gary
  8. Thanks @MrBill, you are correct. Seems anything above 13 won't display the time values. Eye strain! Strangely however the for time has no problem. Thanks Gary
  9. Hi, Is there any reason that the time area never fills in any values. The times can be selected and entered into a program but they are never shown in the time area. Only displays (...). Version 5.0.16C Thanks Gary
  10. @bpwwer Hi I loaded the later version (1.0.6) but it had a problem loading the indoor node and got this error. It did happen each time I reloaded the NS. 2020-05-21 17:33:59,128 [Controller] [INFO ] {'lsid': 246588, 'data_structure_type': 4, 'temp_in': 72.0, 'hum_in': 48.6, 'dew_point_in': 51.6, 'heat_index_in': 70.9} 2020-05-21 17:33:59,144 [Controller] [ERROR] Exception in thread Controller: Traceback (most recent call last): File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/usr/local/lib/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 856, in _parseInput self.shortPoll() File "./wll.py", line 83, in shortPoll self.query_conditions() File "./wll.py", line 217, in query_conditions self.nodes['indoor'].setDriver('CLITEMP', float(record['temp_in']), True, False) KeyError: 'indoor' After a restart it was able to get the indoor node to come up. Also I ran the APP for several minutes and had no problem from that. Thanks for the APP fix. Gary
  11. @bpwwer Hi, weatherlink live works great. The only thing that causes a problem is when the app is connected. It causes the NS to stop with errors. I don't know if that is because the weatherlink live doesn't allow more than one connection at a time or not. I copied the log showing the errors. Thanks Gary 2020-05-19 15:28:58,682 [Controller] [ERROR] Exception in thread Controller: Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 61] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen chunked=chunked, File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 387, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/local/lib/python3.7/http/client.py", line 1252, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1298, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1247, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/local/lib/python3.7/http/client.py", line 966, in send self.connect() File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connection.py", line 184, in connect conn = self._new_conn() File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x8030e0210>: Failed to establish a new connection: [Errno 61] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.30.63', port=80): Max retries exceeded with url: /v1/current_conditions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x8030e0210>: Failed to establish a new connection: [Errno 61] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./wll.py", line 129, in query_conditions c = requests.get(request) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.30.63', port=80): Max retries exceeded with url: /v1/current_conditions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x8030e0210>: Failed to establish a new connection: [Errno 61] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/usr/local/lib/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 856, in _parseInput self.shortPoll() File "./wll.py", line 83, in shortPoll self.query_conditions() File "./wll.py", line 132, in query_conditions LOGGER.error(e.msg); AttributeError: 'ConnectionError' object has no attribute 'msg'
  12. @markv58 Hi, just a little feedback. I have had Ping stop running. Nothing showed up on the Ping log. Thanks Gary
  13. @markv58 Hi, was just wondering if I can run more that one Ping NS? It would need to be on a Rpi running polglot. I have the need to ping some devices more often than others. Geo Fencing for example. I think I discovered a slight problem. If scanning goes false it never shows true again even though it appears to be scanning. Might I suggest being able to turn a host's scanning ON/OFF from a scan button and also available in programs. Thanks Gary
  14. Thanks, I just installed the update. I'm thinking that it may have been a reboot for what ever reason that caused the disconnect. I think I'll add it to ping and see if it does go offline. Gary
  15. @bpwwer Hi, I got the following errors that caused Weathlink to come to a stop. I restarted and it's working fine again. Thought I would pass it along. Thanks Gary Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 61] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen chunked=chunked, File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 387, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/local/lib/python3.7/http/client.py", line 1252, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1298, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1247, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/local/lib/python3.7/http/client.py", line 966, in send self.connect() File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connection.py", line 184, in connect conn = self._new_conn() File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x802ef5ad0>: Failed to establish a new connection: [Errno 61] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/var/polyglot/.local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.20.63', port=80): Max retries exceeded with url: /v1/current_conditions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x802ef5ad0>: Failed to establish a new connection: [Errno 61] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/usr/local/lib/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 856, in _parseInput self.shortPoll() File "./wll.py", line 83, in shortPoll self.query_conditions() File "./wll.py", line 128, in query_conditions c = requests.get(request) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.20.63', port=80): Max retries exceeded with url: /v1/current_conditions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x802ef5ad0>: Failed to establish a new connection: [Errno 61] Connection refused'))
  16. @jfai I would appreciate having a MyLink node server. Thanks in advance if you decide to go forward and create the node server. Gary
  17. I have been using these commands directly from the ISY network resources to the MyLink for two Somfy motors. tcp, host 192.168.20.54, port 44,100 {"method":"mylink.move.up","params":{"auth":"myhome","targetID":"CC10847C.1"},"id":1}
  18. The only thing is that the 'then statement' will never complete if the sensor turns off before the timer expires.
  19. Try adding this to the if conditions. "and Control 'office motion detector - sensor' is not switched off"
  20. @bpwwer Thanks so much. Gary
  21. @Tominnh Hi, I have the Davis Weather console connected using the IP dongle. This works well to update to the WeatherLink cloud and have local access using a PC running the proprietary WeatherLink software. However as far as I know there has never been an API available for 3rd party access until the WeatherLink Live came along. Gary Just did a little search and there may now be an API available for WeathLink.com
  22. @bpwwerHi, I had an error occur early this morning so I thought I would pass it along. I would see an error similar to this if I had requested the data from the PC while polisy was still polling. I assume the weatherlink live can't support more that one connection at a time. This was early in the morning and nothing else accesses the weatherlink live so I am not sure why the error popped up. It is Ethernet connected powered by POE on a UPS backed up switch. This has never happened just out of the blue. Restarted and runs fine again. Thanks Gary 2020-04-02 03:46:40,661 [Controller] [ERROR] Exception in thread Controller: Traceback (most recent call last): File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/usr/local/lib/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 856, in _parseInput self.shortPoll() File "./wll.py", line 83, in shortPoll self.query_conditions() File "./wll.py", line 200, in query_conditions self.setDriver('BARPRES', float(record['bar_sea_level']), True, False) TypeError: float() argument must be a string or a number, not 'NoneType'
  23. Of course as more and more appliances become WiFi enabled all this may become moot. We'll be asking for Polisy node servers for the different appliances. Hopefully they will have local API access.
  24. For me I had no problem taking the dryer apart. I did also add a current sensor on one of the legs in the dryer. That way I would know if the dryer is on and also when the drying cycle is finished which happens before the dryer actually turns off. My vent goes directly out the back through the wall. Not sure if there would be any room for a flapper. Nice to have the older type dryer. Would defiantly need to revisit with a newer dryer.
  25. In my case I just replaced the end of cycle signal 110v buzzer with a 110v momentary relay. Then into any dry input contact device like the insteon EZIO6I. Gary
×
×
  • Create New...