Jump to content

larryllix

Members
  • Posts

    14967
  • Joined

  • Last visited

Everything posted by larryllix

  1. My RPi Polyglot would never load v2.2.5, in case that is related. Now the offer of v2.2.5 is gone from the PolyGlot everywhere.
  2. @Michel Kohanim No such port 443 luck. IP address has not changed in router. Here is what I get. Welcome to Polisy! [admin@polisy ~]$ ps -aux | grep poly polyglot 1748 62.4 3.1 697284 128824 - R 12:32 0:04.25 /usr/local/bin/polyglot-v2-fr polyglot 1009 0.0 0.1 10768 2188 - Ss 11:39 0:00.70 daemon: /usr/local/bin/polygl admin 1750 0.0 0.1 11248 2696 0 S+ 12:32 0:00.01 grep poly [admin@polisy ~]$
  3. Thanks Michel! It appears that all went OK (have to spell 'cryptography' correctly ) However, I seem to have lost my PolyGlot auto-launch. I can get no response from the https://192.168.0.165:3000 now. Rebooted from PuTTY a few times. Can't seem to navigate around the polisys without some standard linux basics, to investigate further.
  4. Got my PolISY today. Thank you very much!! Avoided customs, brokerage fees, and taxes. Shipping appeared to be about 7-8 days. WLAN board had fallen out. Placed back in the edge connector and it kept springing back up. Partially snapped it down. On closer examination one of the fastener clip's metal spring was flattened down. Bent it out of the way and bent it over the board once snapped down into the good clip. Not sure if I damaged the clip or it was damaged, letting the WLAN PCB loose. Working temporarily now. Powered up but could not get it to respond to https://polisy:3000. I have no DNS server on my LAN so I don't know how this could possibly work. Accessed my router, and found new connection/MAC address. Assigned it in my DHCP reservation table. Repowered up Polisy and it came back with my assigned IP address. Browser connected to polisy using assigned https://192.168.0.165:3000. Browser complained of no certificate, with all the silly negative advice about not connecting...ignored! as I also do with RPi PolyGlot. Polyglot admin console came up, reported it found an ISY on different subnet @ 192.16.1.70:70 but required security details. Corrected IP address and installed security details for ISY connection. Upgrades are offered to PolyGlot but will not install, as I receive the complaint "platform not recognised - freebsd" each time this is attempted with the built in method. The attempt cannot completed and fails each time. I assume this may take some SSH access with the appropriate updating, at this point in development.. Swapping polisy in for my RPi polyglot needs to be investigated yet, and I am not sure what I can experiment with and what I require to be completely solid yet. I don't use many NSs so just manually replacing devices in programs wouldn't be too much work, so far. Report more later.
  5. Most people have just left their ISY username as "admin". Are you sure about using an email address for an ISY username? Your RPi reports that WiFi is blocked due to not setting your country parameter. I hope you are connected hard-wired Ethernet and not relying on WiFi for Polyglot.
  6. Can't find my PolISY online!! I checked my router and found no IP address. I tried the admin console standard IP address and port 443 and still no success! Eventually I did find my PolISY via another URL, ….it was just released from Canada Customs in Toronto and out for delivery!! ? ?
  7. I use http with all my rest calls to my ISY. V5.0.16. I don't use https for anything inside my LAN and very little outside.
  8. Have you checked your java console permissions to see if your ISY is still permitted?
  9. Again. Are you using the same UI as your firmware? Sent using Tapatalk
  10. @mwareman I think PolISY is the box and Polyglot and ISY will be the two coresident pieces of software making the reset terminology correct. If you reset PolISY both software should be power cycled IMHO. Sent using Tapatalk
  11. That is how they can keep your wallet open. Sent using Tapatalk
  12. I use a beeping BuzzLinc to indicate a lot of things. However I have implemented a 5 level notification system in an attempt to portray seriousness of each level. A level 1 gives a 1-2 second beeper only for lowbatts and low significance things. A level 2 gives a 20 second beeper for more important alerts followed by SMS and/or email with details. A level 5 is for unauthorised entry and incorporates flashingbif every light, doorbell constantly dinging, AV turning on a extreme volume in cycles, and notifications. I use coloured light flashes for other items but should probably incorporate those into my alert system for a more homogeneous system. Most decent smart bulbs provide self flashing modes that most bridging software ignores but it doesn't burden down ISY doing the flashing. Sent using Tapatalk
  13. Haha! Strangely enough a neighbour was over a year back and I was showing off.... Alexa..turn on movie lights...etc. I was getting the eye rolls, and usual. But a month later he had his kitchen cabinet tops full of the cheap iR controlled coloured lights. As a comparison, he is one of these younger control freaks, just barely into his 70s. Sent using Tapatalk
  14. Yeah. I didn't get much action either, until I installed certain colours. :) Sent using Tapatalk
  15. I think Paypal was in a bit of a transition. A direct deposit to bank accounts has shown up with proper verification methods. Also an option to spend the cash balance right from Paypal has appeared very obscurely now. At that time the only option was to give PayPal my bank card password for full access to all my accounts and credit card accounts. They promised not to keep my password though. ☹️ ?
  16. I have another T7900 but it I defective in two ways. The outdoor, wired, sensor input is defective, as well as the touch screen needs to be pushed and held firmly for a full second, every touch. Great temperature probe or timer though. LOL
  17. My deck lights alternate Green and Red bulbs for Christmas time, and the same bulbs become violet and orange for the next few weeks, multi-coloured for Easter. Surprisingly enough we sometimes decorate our room with multicoloured lights for watching movies at night. It is very soothing. Even good televisions change their white tones late a night to avoid disrupting circadian rhythm sleep cycles. We have strip lights over our bedhead that are set up to do any of the seven major colours. Deep red lighting doesn't interfere with falling asleep and they shut themselves off later. One lamp flashes red while a garage door is open. Different colours indicate which door is open. Two lights on each side of the TV flash green a midnight if we are home, as a reminder to go to bed. None of this is Insteon. It is for old people that want all the program hassles, writing code and doing fancy things. That means we have to be able to read and write.
  18. Here is some of the code I wrote to receive NR commands. You will have to dig through it to make it work from yourself. I left the ISY heartbeat code in in case you want to know it it out there in your LAN cloud working from ISY #!/usr/bin/Python-3.5.1 NRbridge.py #Program to pass ISY Network Resource calls to MagicHome LED controller drivers #by larryllix (UDI forum), June 29, 2019 # Format Network resource as 'ledenet'/command/bulb/colour/RGBlevel/Wlevel/speed/effect # Device type ='LEDenet' or 'MiLight' # command = 'on', 'off', 'set', 'effect', 'keepalive' # bulb = 0, 1 - n. 0 = all bulbs on controller # colour = 0-255, 0=Red, 85=Green, 170=Blue # RGBlevel = 0-100% brightness of the RGB LEDs # Wlevel = 0-100% brightness of the white LEDs # speed = used for multi-bulb effects # effect = 0-? native bulb effects or 23-37 for multi-bulb animations from http.server import BaseHTTPRequestHandler, HTTPServer import urllib.request import base64 import time from magichome import magichome # Server (this CPU) IP address server_IP = '192.168.0.175' server_port = 8000 # ISY parameters to be defined by user ISY_username = 'admin' ISY_password = 'password' ISY_IP = '192.168.0.161' # Heartbeat into ISY variable ISY_HBpage = 2 # 1=Integer, 2=State ISY_HBaddr = 83 # ISY heartbeat variable ISY_HBperiod = 90 # In seconds. toggles ISY flag variable ISY_HBlast_sent = 0.0 # Refresh bulb statuses and socket keepAlive lastCheckRefeshTime = 0.0 # time of last refresh refreshCheckPeriod = 10.0 # seconds between scans verbose = True # Set verbose = False to shut off reporting of details of ISY sends def report(result): if verbose: print(time.strftime("%H:%M:%S", time.localtime(time.time())), result) return # HTTPRequestHandler class class myHTTPServer_RequestHandler(BaseHTTPRequestHandler): def do_GET(self): global last_time global ledenet_passed, ledenet_passed_valid global bulbStatusList words = self.requestline.split() passed = words[1].split("/",20) if len(passed) > 3: self.send_response_only(200,'NRbridge received OK') # send ACK response self.end_headers() time.sleep(0.001) # allow I/O time slice type = str(passed[1]).strip().lower() ####### ### --------------------code to run bash command here---------------------- ############################# else: # wasn't a GET self.send_error(400, 'NRbridge: bad Get format') # send NAK response self.end_headers() time.sleep(0.001) # allow I/O time slice report("NRbridge: ISY GET:format error! ***") return # Write ISY handshake variable via REST i/f def write_ISY(data): ISY_rest = "/rest/vars/set/%s/%s/%s" % (ISY_HBpage, ISY_HBaddr, data) get_url = urllib.request.Request('http://' + ISY_IP + ISY_rest) #format the URL ISY_authorise = base64.b64encode((ISY_username+":"+ISY_password).encode('utf-8')) #encode it get_url.add_header("Authorization", 'Basic %s' % ISY_authorise.decode('utf-8')) try: r = urllib.request.urlopen(get_url) time.sleep(0.001) # allow I/O time slice returned = r.read() r.close() time.sleep(0.001) # allow I/O time slice except: report("NRBridge: ISY heartbeat send failed!***") return #------------------------------------- # Get server setup try: httpd = HTTPServer((server_IP, server_port), myHTTPServer_RequestHandler) httpd.socket.settimeout(0.8) except: print('') report("NRbridge: Not started! May already be running * * * * * *") exit() print('') report('NRbridge: started. . .') heartbeat = 0 # Get list of sockets and status of all bulbs bulbStatusList = [] # bulb data message, bulbStatusList = magichome(['refresh'], bulbStatusList) report(message) # Main loop while(True): # Check for incoming command httpd.handle_request() # ISY heartbeat signal if time.time() >= ISY_HBlast_sent + ISY_HBperiod: if heartbeat != 1: heartbeat = 1 else: heartbeat = -1 write_ISY(heartbeat) ISY_HBlast_sent = time.time() # Update bulb statuses and refresh sockets if time.time() >= lastCheckRefeshTime + refreshCheckPeriod: lastCheckRefeshTime = time.time() message, bulbStatusList = magichome(['refresh'], bulbStatusList) #report(message)
  19. The coloured lights would look really cool beside your green phosphor monitor.
  20. Read my post. I bought WiFi lightbulbs because I have 25 of that brand plus another ten WiFi based RGBWW strips and I don't want the ten different hubs to use them. Other brands could do the job with less hubs but I don't have $2000 for just those Hue or LIFX bulbs, and then I have to buy hubs and find a place to keep them all. Insteon does not have RGBWW lighting devices or support and the masses does not want Insteon that isn't supported by anybody else. Insteon is old man technology.
  21. Sure. I have 25 Smart WiFi bulbs now,. If they were still MiLight I would have: an ISY994 a RPi, for PolyGlot 7x MiLight Hubs with USB PSUs, for 28 units max, a Philips Hue hub, and still require a router or two. I would need a new home to increase my receptacle count. I am not just a remote control freak, so I may have done it if necessary, but Remote Control people would just walk away. They can buy WiFi receptacles, RGBWW bulbs, in several brands now, Alexa units, and Google Home voice controls in Walmart for about half the price per unit and not even buy a Hub. Even the Philips wall switch with full colour control was in Walmart for under $30 CAD, about $21 USD, in Walmart. ...and most of these devices are being advertised on TV at least once per hour and most channels. Insteon cannot be found in a single store walk-in in Canada, now. HA has become a niche market that is dwindling. https://www.walmart.ca/en/ip/philips-hue-wireless-dimmer-switch/6000197973354
  22. If you are familiar with python3 I posted script to receive Get" calls about a year back on this forum.
  23. For remote access applications the ecobee has password protection as well a user set limits for setpoints. I had a runaway ISY program ramp mine to the bottom of the setting range once so the limits can be good protection against hacking and yourself.
  24. I bought two hubs, originally. Once I discovered ISY and that Hubs were not HA devices, I packed both up and returned one, gave the other to my non-HA son. Once Alexa came out he went full steam with Remote Control but could never make the old Hub work with Alexa. He replaced it with the newer Hub and it works fine for the few Insteon devices I gifted him years ago. The original Hub was a waste of money and never used, even for Remote Control.
  25. After trying many different brands in my last two homes, I found ecobee to be the best for options, ease of usage and good stability. In my home I have an extremely slow response to heating/cooling changes so the "Follow Me" and automatic "Home/Away" feature is useless. The remote sensors are nice but only have certain applications. eg. I have a sensor in my bedroom but we like the room cool to sleep in and the house starts setting back in mid afternoon, but is still warm at midnight. We open the window after supper and close the door, not to cool the house down. The bedroom sensor sees this cool temperature and tries to heat the whole house up, all night, overheating the rest of the space and wasting energy. This method works well in the dead of winter or AC in summer but not in spring/fall for us. YMMV.
×
×
  • Create New...