Everything posted by Bumbershoot
-
Using "smart bulbs" with Insteon dimmers
Good idea -- control it logically, but not physically! That would completely solve the problem... Thanks.
-
Using "smart bulbs" with Insteon dimmers
I'm using the LiFX nodeserver on my Polisy right now. The only requirement is that the lifxlan module gets installed, but that's a cinch if it isn't automatically installed upon the general release of Polisy. The performance of my existing LiFX bulbs is very good. At less than .5 watts in standby, there's not much of a penalty for leaving them on. I very much appreciate hearing about your experience with using these bulbs in conjunction with a dimmer, as well as with the outdoor bulbs. Thanks again.
-
Using "smart bulbs" with Insteon dimmers
I guess I can answer my own question: Wattage on Standby <0.5W I guess I don't need to be overly concerned.
-
Using "smart bulbs" with Insteon dimmers
That's exactly what I've been doing, and it's a great solution for my needs. I'm hoping to do that this year as well, but I don't want to swap that dimmer out, either (it's in a 3-gang switch box, and I hate getting into those). Thanks. Do you leave the LiFX bulbs in all year? If so, how do they hold up? I probably would switch them out in January, as my HOA won't go for colored external lights outside of the holidays.
-
Initial Feeback
I set up logrotate on my RPi, and was pleased. Polyglot, I believe prior to the version 2 series, used to rotate its logs. Somewhere along the line, it didn't. I understood that this was to be re-implemented at some point, but I haven't seen it happen yet.
-
Using "smart bulbs" with Insteon dimmers
For a test, I've been running a LiFX bulb attached to an LampLinc dimmer for a few weeks. If the "on" value of the LampLinc is set to anything other than 100%, the results are predictably unpredictable. However, if the "on" value is set to 100%, the bulb acts the same as all the rest of my LiFX bulbs, which are controlled by SwitchLinc On-Off switches. My question is: is there any risk, other than possible damage to a spendy bulb, in continuing this experiment into production? The use case I have in mind: I would like to install a SwitchLinc in a spot that currently has an standard single-pole switch. The bulb this controls is currently a LiFX bulb. The switch is very seldom toggled, and is in a location that guests, etc. are unlikely to visit. I don't have any more Insteon SwitchLinc On-Off switches of the old style, but I do have a couple of Insteon SwitchLinc dimmers available. If the "On Level" is set to 100% and the "Ramp Rate" is set to 0.1 seconds, and the paddle is only used to turn the switch on and off (the same with programmatic control), should I expect anything undesirable? Is anyone successfully using SwitchLinc dimmers with smart bulbs? Admittedly, I should probably buy a new SwitchLinc On-Off switch and move on, but I may not want the LiFX bulb there forever. I may swap it out for a conventional LED bulb, at which point, I'll want the dimmer. Also, has anyone measured the "vampire current" used by these type of bulbs when they're logically off but physically on?
-
Initial Feeback
FWIW - I have 150M in my Polyglot log after 6½ days.
-
Initial Feeback
Yep, sure enough. [admin@polisy /var/polyglot/nodeservers/LiFX]$ locate nfsd /etc/rc.d/nfsd /usr/sbin/nfsd /usr/sbin/nfsdumpstate /usr/sbin/pnfsdscopymr /usr/sbin/pnfsdsfile /usr/sbin/pnfsdskill /usr/share/man/man8/nfsd.8.gz /usr/share/man/man8/nfsdumpstate.8.gz /usr/share/man/man8/pnfsdscopymr.8.gz /usr/share/man/man8/pnfsdsfile.8.gz /usr/share/man/man8/pnfsdskill.8.gz EDIT: No Samba, though.
-
Initial Feeback
In the meantime, if unix2dos doesn't become available, you can use the 'tr' command -- which is already on Polisy -- to convert those Dos files into something usable in Unix. tr -d '\015' < DOS-file > UNIX-file Gets rid of those pesky carriage returns. Just make sure that Unix-file has a different name.
-
Initial Feeback
Agreed, an Emacs install is huge, and if you haven't spent countless hours working with it, it's obtuse, obscure and difficult. Nano is pretty easy for the casual user, which argues in it's favor. The default of vi should at least be functional for the intended crowd in this release. If you think you're going to need to have users editing files after the general Polisy release, then I'd suggest including nano.
-
Initial Feeback
The Camera nodeserver. See this post. It appears to get hung up on a DNS query. @Jimbo is aware of the problem, and there's no particular urgency for a fix on my part.
-
Initial Feeback
I suspect that: sudo systemctl enable polyglot-v2 will do the job for you.
-
Initial Feeback
I wonder on which filesystem UDI will put the ISY files when they migrate over to this hardware?
-
Initial Feeback
Polyglot failed for me when I was on 2.2.5_4, but it now works with the latest release (yesterday afternoon) of 2.2.5_5.
-
Initial Feeback
This is what I get out of df -h: Filesystem Size Used Avail Capacity Mounted on zudi/ROOT/default 5.2G 1.4G 3.7G 28% / devfs 1.0K 1.0K 0B 100% /dev procfs 4.0K 4.0K 0B 100% /proc zudi/tmp 3.7G 25K 3.7G 0% /tmp zudi/usr/home 3.7G 6.1M 3.7G 0% /usr/home zudi/var/crash 3.7G 23K 3.7G 0% /var/crash zudi/var/db 3.8G 17M 3.7G 0% /var/db zudi/var/db/pkg 3.7G 5.4M 3.7G 0% /var/db/pkg zudi/var/empty 3.7G 23K 3.7G 0% /var/empty zudi/var/log 3.7G 174K 3.7G 0% /var/log zudi/var/run 3.7G 46K 3.7G 0% /var/run zudi/var/tmp 3.7G 23K 3.7G 0% /var/tmp zudi 3.7G 23K 3.7G 0% /zudi [admin@polisy /var/polyglot]$
-
Initial Feeback
I haven't tried it, but this ought to work, provided you have a standard Polyglot installation: sudo systemctl disable polyglot-v2
-
Initial Feeback
I have one nodeserver that doesn't run yet on the Polisy, so I'm running that one on my RPi still. If you want a clean swap, you might want to wait until some declares success with installing all your nodeservers on the Polisy. It's not that big a deal here, as I still have NodeLink and some other things running my RPi, so it's not going away immediately. This configuration seems to run alright (as in the ISY doesn't complain). The nodeservers on the other device show up with a Current Status as "Unmanaged" in the Dashboard, just as nodeservers on the PGC show up as "Unmanaged" on the local instance of Polyglot. It's not ideal, but I suspect I could go on like this indefinitely.
-
Initial Feeback
Nope, but I’ll rebuild over morning coffee. EDIT: all done, not too big of a deal.
-
Initial Feeback
All my nodeservers are reporting as "Unmanaged". Slots 3, 4, 6 ,8 and 9 should be running on Polisy (see screenshot).
-
Initial Feeback
polyglot 2.2.5_5 I might be getting ahead of things here, but this might help. 2019-10-30 16:46:59 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:46:59 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/connections/# QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/# QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/settings QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/nodeservers QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/log QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/ns/# QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/profile/# QoS 0 2019-10-30 16:47:00 [polyglot] debug: ISY: 404 - http://192.168.1.10:80/rest/config/ 2019-10-30 16:47:00 [polyglot] error: ISY: Could not get Version. Check your settings. If this is the first time you are starting Polyglot, this is normal. 2019-10-30 16:47:45 [polyglot] error: MQTTS: polyglot_frontend-cDOoa authentication failed. Someone is messing with something.... 2019-10-30 16:47:45 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:47:45 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:48:22 [polyglot] info: Settings Saved Successfully. 2019-10-30 16:48:22 [polyglot] debug: ISY: 200 - http://192.168.1.20:80/rest/config/ 2019-10-30 16:48:22 [polyglot] info: ISY: Got Version 5.0.16 2019-10-30 16:48:22 [polyglot] debug: ISY: 200 - http://192.168.1.20:80/rest/profiles/ns/0/connection/ 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: Ring(1) 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: isylink(2) 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: Push(3) 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: LiFX(4) 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: Camera(5) 2019-10-30 16:48:23 [polyglot] info: NS: Registered new unmanaged NodeServer: WirelessTag(6) 2019-10-30 16:48:23 [polyglot] info: NS: Registered new unmanaged NodeServer: ISY Portal(7) 2019-10-30 16:48:23 [polyglot] info: NS: Registered new unmanaged NodeServer: Sonos(8) 2019-10-30 16:48:23 [polyglot] info: NS: Registered new unmanaged NodeServer: DarkSky(9) 2019-10-30 16:48:32 [polyglot] debug: {"node":"polyglot_frontend-cDOoa","restartPolyglot":{}} 2019-10-30 16:48:32 [polyglot] info: Caught SIGTERM/SIGINT Shutting down. 2019-10-30 16:48:32 [polyglot] debug: All NodeServers stopped. 2019-10-30 16:48:32 [polyglot] info: MQTT Client Services Stopping Gracefully. 2019-10-30 16:48:32 [polyglot] info: HTTP Interface Service: Stopping 2019-10-30 16:48:32 [polyglot] info: Aedes MQTT Broker Service: Stopping 2019-10-30 16:48:32 [polyglot] error: unhandledRejection REPORT THIS!: MongoError: pool destroyed at Pool.write (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/connection/pool.js:860:12) at _command (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/wireprotocol/command.js:107:10) at command (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/wireprotocol/command.js:25:5) at Object.query (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/wireprotocol/query.js:57:3) at Server.query (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/topologies/server.js:640:16) at FindOperation.execute (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/find.js:24:12) at topology.selectServer (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/execute_operation.js:167:15) at Server.selectServer (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/topologies/server.js:828:3) at Server.selectServer (/snapshot/polyglot-v2/node_modules/mongodb/lib/topologies/topology_base.js:363:32) at executeWithServerSelection (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/execute_operation.js:150:12) at executeOperation (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/execute_operation.js:81:16) at Cursor._initializeCursor (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/cursor.js:545:7) at Cursor._initializeCursor (/snapshot/polyglot-v2/node_modules/mongodb/lib/cursor.js:191:11) at nextFunction (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/cursor.js:748:10) at Cursor._next (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/cursor.js:202:5) at fetchDocs (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/to_array.js:27:14) 2019-10-30 16:48:32 [polyglot] debug: MongoDB: Disconnected from database. 2019-10-30 16:48:34 [polyglot] debug: Created PID file: /var/polyglot/polyglot.pid 2019-10-30 16:48:37 [polyglot] info: Starting Polyglot.... 2019-10-30 16:48:37 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 16:48:37 [polyglot] info: Settings: Retrieved config from database 2019-10-30 16:48:37 [polyglot] info: Running in Polisy mode 2019-10-30 16:48:37 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 16:48:37 [polyglot] debug: TLS: Found Keys and Certificate data in database. Exporting to /var/polyglot/ssl/ 2019-10-30 16:48:37 [polyglot] debug: Checking for DB Maintenence needs... 2019-10-30 16:48:37 [polyglot] debug: DB Version Found: 2 no maintenence necessary. 2019-10-30 16:48:37 [polyglot] info: Aedes MQTT Broker Service: Started on port 1883 2019-10-30 16:48:38 [polyglot] info: MQTT Client Service: Started 2019-10-30 16:48:38 [polyglot] info: HTTPS Interface Service: Started - Address: 0.0.0.0 Port: 443 2019-10-30 16:48:38 [polyglot] debug: NodeServer Ring [1] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer isylink [2] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer Push [3] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer LiFX [4] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer Camera [5] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer WirelessTag [6] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer ISY Portal [7] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer Sonos [8] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer DarkSky [9] added to running config. 2019-10-30 16:48:38 [polyglot] debug: MongoDB: 9 NodeServer(s) retrieved from database 2019-10-30 16:48:38 [polyglot] info: MQTTS: polyglot authenticated successfully. 2019-10-30 16:48:38 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/connections/# QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/# QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/settings QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/nodeservers QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/log QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/ns/# QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/profile/# QoS 0 2019-10-30 16:48:38 [polyglot] debug: ISY: 200 - http://192.168.1.20:80/rest/config/ 2019-10-30 16:48:39 [polyglot] info: ISY: Got Version 5.0.16 2019-10-30 16:48:39 [polyglot] debug: ISY: 200 - http://192.168.1.20:80/rest/profiles/ns/0/connection/ 2019-10-30 16:48:43 [polyglot] debug: REST: SET_HSBKD Command received from ISY for n004_d073d5213fe8 2019-10-30 16:48:43 [polyglot] info: Received SET_HSBKD for n004_d073d5213fe8 however NodeServer LiFX is not connected. Ignoring. 2019-10-30 16:48:46 [polyglot] debug: REST: ACTIONS Command received from ISY for n003_humidifier 2019-10-30 16:48:46 [polyglot] info: Received ACTIONS for n003_humidifier however NodeServer Push is not connected. Ignoring. 2019-10-30 16:49:00 [polyglot] info: Successful login by admin 2019-10-30 16:49:00 [polyglot] error: MQTTS: polyglot_frontend-cDOoa authentication failed. Someone is messing with something.... 2019-10-30 16:49:00 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:49:00 [polyglot] info: MQTTP: Frontend Websockets interface Disconnected. 2019-10-30 16:49:00 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:49:00 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:49:00 [polyglot] error: MQTTS: clientError: polyglot_frontend-cDOoa write after end 2019-10-30 16:49:00 [polyglot] info: MQTTS: Client Disconnected: 2019-10-30 16:49:01 [polyglot] error: MQTTS: polyglot_frontend-cDOoa authentication failed. Someone is messing with something.... 2019-10-30 16:49:01 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:49:01 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:49:01 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:49:16 [polyglot] info: MQTTS: Client Disconnected: 2019-10-30 16:49:16 [polyglot] info: MQTTS: polyglot_frontend-rGDEs authenticated successfully. 2019-10-30 16:49:16 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:49:17 [polyglot] info: MQTTP: Frontend Websockets interface Connected.
-
Initial Feeback
Yep, I didn't have the file either. sudo touch .env I used vi as well to enter the content. Scary... It's been 20 years since I've used vi, and I swore I'd never use it again. Emacs forever! ?
-
Initial Feeback
My pleasure, kind sir!
-
Initial Feeback
Email coming shortly, but this is the jist of it: 2019-10-30 16:10:11 [polyglot] debug: Created PID file: /var/polyglot/polyglot.pid 2019-10-30 16:10:14 [polyglot] info: Starting Polyglot.... 2019-10-30 16:10:14 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 16:10:14 [polyglot] info: Settings: Retrieved config from database 2019-10-30 16:10:14 [polyglot] info: Running in Polisy mode 2019-10-30 16:10:14 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 16:10:14 [polyglot] debug: TLS: Found Keys and Certificate data in database. Exporting to /var/polyglot/ssl/ 2019-10-30 16:10:14 [polyglot] debug: Checking for DB Maintenence needs... 2019-10-30 16:10:14 [polyglot] debug: DB Version Found: 2 no maintenence necessary. 2019-10-30 16:10:14 [polyglot] info: Aedes MQTT Broker Service: Started on port 1883 2019-10-30 16:10:15 [polyglot] info: MQTT Client Service: Started 2019-10-30 16:10:15 [polyglot] error: uncaughtException: listen EACCES 0.0.0.0:443 Error: listen EACCES 0.0.0.0:443 at Object._errnoException (util.js:1031:13) at _exceptionWithHostPort (util.js:1052:20) at Server.setupListenHandle [as _listen2] (net.js:1350:19) at listenInCluster (net.js:1408:12) at doListen (net.js:1523:7) at _combinedTickCallback (internal/process/next_tick.js:141:11) at process._tickCallback (internal/process/next_tick.js:180:9) 2019-10-30 16:10:15 [polyglot] error: uncaughtException REPORT THIS!: Error: listen EACCES 0.0.0.0:443 at Object._errnoException (util.js:1031:13) at _exceptionWithHostPort (util.js:1052:20) at Server.setupListenHandle [as _listen2] (net.js:1350:19) at listenInCluster (net.js:1408:12) at doListen (net.js:1523:7) at _combinedTickCallback (internal/process/next_tick.js:141:11) at process._tickCallback (internal/process/next_tick.js:180:9) 2019-10-30 16:10:15 [polyglot] info: Caught SIGTERM/SIGINT Shutting down. 2019-10-30 16:10:15 [polyglot] debug: All NodeServers stopped.
-
Initial Feeback
Letting it run for a few more minutes... I'll have your log shortly.
-
Initial Feeback
Here's what I get, but it looks the same as before: polyglot 3518 0.0 0.1 10768 2336 - Ss 15:45 0:00.01 daemon: /usr/local/bin/polyglot-v2-freebsd-x64[3535] (daemon) polyglot 3535 0.0 1.0 585004 42768 - R 15:46 0:00.43 /usr/local/bin/polyglot-v2-freebsd-x64 -w /var/polyglot admin 3537 0.0 0.1 11248 2696 0 S+ 15:46 0:00.01 grep poly [admin@polisy ~]$