apwelsh / hubitat Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Recently I had to replace my router so my hue bridge IP changed. When I logged into hubitat to update the hue bridge IP the bridge would not unlink. It still showed my bridge name and old IP. The only way I could get the app to work was to remove the app and install it again. I would love to supply you logs from that time, but it was like this app stopped working because nothing was logging in hubitat.
I will also add that all of my IPs changed including the ones in hubitat, but I don’t see how that would have impacted this app.
My Hubitat can't communicate to Hue abot a few hours ago
wants to repair, but there is an error:
LOGS:
app:2842021-10-17 21:19:29.620 infoAdding Bridge device with DNI: hue-ECB5FA2BA6C9
app:2842021-10-17 21:19:29.616 debugHub linking completed for Philips hue (2BA6C9)
app:2842021-10-17 21:19:27.543 debugSearching for Hub additions and updates
app:2842021-10-17 21:19:05.258 debugSearching for Hub additions and updates
app:2842021-10-17 21:19:03.539 errororg.codehaus.groovy.runtime.InvokerInvocationException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? (bridgeLinking)
app:2842021-10-17 21:19:03.495 infoAdding Bridge device with DNI: hue-ECB5FA2BA6C9
app:2842021-10-17 21:19:03.491 debugHub linking completed for Philips hue (2BA6C9)
app:2842021-10-17 21:16:03.050 errororg.codehaus.groovy.runtime.InvokerInvocationException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? (bridgeLinking)
app:2842021-10-17 21:16:02.992 infoAdding Bridge device with DNI: hue-ECB5FA2BA6C9
app:2842021-10-17 21:16:02.987 debugHub linking completed for Philips hue (2BA6C9)
app:2842021-10-17 21:16:00.710 debugSearching for Hub additions and updates
app:2842021-10-17 21:15:57.928 debugSearching for Hub additions and updates
app:2842021-10-17 21:15:55.238 debugSearching for Hub additions and updates
app:2842021-10-17 21:14:53.214 errororg.codehaus.groovy.runtime.InvokerInvocationException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? (bridgeLinking)
app:2842021-10-17 21:14:53.144 infoAdding Bridge device with DNI: hue-ECB5FA2BA6C9
app:2842021-10-17 21:14:53.137 debugHub linking completed for Philips hue (2BA6C9)
app:2842021-10-17 21:14:46.597 debugSearching for Hub additions and updates
I've made some changes to fix a few things I found annoying or not working.
here are my changes:
https://github.com/JonoPorter/Roku-Tv
I'm not seeing my vehicle in the dropdown (the dropdown is empty). The configuration guide here notes to "enter your Tesla Connect credentials". However, the setup page itself says that Email and Password are "no longer used - enter anything!".
So I am confused...how do I configure my credentials or the login so that my car will appear in the dropdown in the next page?
When I add my hue zones as groups they throw this error
app:4502022-01-10 08:40:56.698 pm errorjava.lang.NullPointerException: Cannot invoke method refresh() on null object app:4502022-01-10 08:40:56.640 pm debuggetDeviceState received data: [name:Front Path Lights, lights:[24, 20], sensors:[], type:Zone, state:[all_on:true, any_on:true], recycle:false, class:Downstairs, action:[on:true, bri:254, hue:7209, sat:0, effect:none, xy:[0.3804, 0.3768], ct:247, alert:select, colormode:hs]] app:4502022-01-10 08:40:56.489 pm debugURL: https://192.168.1.37:443/api/RIZarKTw2VU66axzbYxS8r3SydYqe4FYp2nw36v4//groups/18 app:4502022-01-10 08:40:56.378 pm debuggetDeviceState received data: [name:Front Path Lights, lights:[24, 20], sensors:[], type:Zone, state:[all_on:true,
The device is created but I’m having issues with rule machine turning those zones off. It could be a rule machine problem but these are the only devices that have that issue.
Group was not updating when off. I traced it to these two lines 1634, 1635 in the Advanced Hub Bridge Integration app code, which evaluate to false when the group is off so the properties are never set. Changed the condition to "!= null" to fix.
if (devstate) {
if (devstate['any_on']) { child.setHueProperty([name: 'any_on', value: devstate.any_on]) }
if (devstate['all_on']) { child.setHueProperty([name: 'all_on', value: devstate.all_on]) }
}
I haven’t found a way to do this in hubitat so I assume the status attribute of the hue motion sensor is read only.
What I’d like to do is create a rule that disables a motion sensor. If this is not possible, can it be added?
Would it be possible to have the lutron diver added to your repo?
this is the message I get when I try to add it in Hubitat.
[swupdate:[lastinstall:2022-01-02T05:46:21, state:noupdates], capabilities:[inputs:[[repeatintervals:[400], events:[[rotaryevent:1, eventtype:start], [rotaryevent:2, eventtype:repeat]]]], certified:true, primary:true], modelid:Z3-1BRL, swversion:3.8, type:ZLLRelativeRotary, diversityid:2c3a75ff-55c4-4e4d-8c44-82d330b8eb9b, manufacturername:Lutron, name:Hall Dimmer 2 Lutron Aurora, productname:Lutron Aurora, state:[rotaryevent:1, expectedrotation:-56, expectedeventduration:400, lastupdated:2022-01-02T05:48:19], config:[pending:[], battery:100, reachable:true, on:true], uniqueid:ff:ff:00:0f:e7:fd:4b:de-01-fc00-0014]
Hi,
It would be very useful, if child device names optionally could be prefixed or postfixed.
for example
group name on HUE: Living Room
device name on Hubitat: Living Room AHB
Thanks
Laszlo
We are also getting errors after recent updates.
Error: Cannot cast object 'null' with class 'null' to class 'int'. Try 'java.lang.Integer' instead
This error is from the attempted re-link.
Tried UnLink and ReLink but now it cannot re-link.
Originally posted by @budjik-tech in #21 (comment)
Unexpected Error
An unexpected error has occurred trying to load the app. Check Logs for more information.
Error: No signature of method: user_app_apwelsh_Advanced_Hue_Bridge_Integration_172.unsubscrive() is applicable for argument types: () values: [] Possible solutions: subscribe(), subscribe(java.lang.Object, java.lang.String, groovy.lang.MetaMethod), subscribe(java.lang.Object, java.lang.String, java.lang.String), subscribe(java.lang.Object, java.lang.String, groovy.lang.MetaMethod, java.util.Map), subscribe(java.lang.Object, java.lang.String, java.lang.String, java.util.Map)
Hubitat will not accept the driver code for tesla.groovy
expecting ')', found '}' @ line 98, column 13.
I installed the App. Went to Apps, clicked on iopool connect, click on installed devices. I could see current states and Preferences . I added a Device Label "PH". How do I add to PH value to the Device ?
This is a continuation of a issue described on "community.hubitat.com". The relevant post is linked to below:
Momentary switches are not turning Roku apps on
TV details are as follows:
user-device-name : 40" TCL Roku TV
serial-number : 2N005D674148
active-app : Roku
vendor-name : TCL
device-id : 4KK455674148
screen-size : 40
I upgraded to the latest version and am receiving the following error when discovering lights or trying to use the other functions :
Error: No signature of method: static java.lang.Math.max() is applicable for argument types: (null, java.lang.Integer) values: [null, 1] Possible solutions: max(int, int), max(double, double), max(float, float), max(long, long), min(int, int), wait()
I modified Trent Foley's code and seem to have a working solution.
When using the set Time Remaining button to... set the remaining time, the following error is thrown:
errorjava.lang.UnsupportedOperationException: Cannot use mod() on this number type: java.math.BigDecimal with value: 120 on line 96 (setTimeRemaining)
I tried "60" as the option.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.