I'll have a quick look now.
I'll have a quick look now.
Version: 1.3.1 just uploaded with (hopefully) the if applied
Have a try and let me know how you get on.
Oh dear. It's big apology time.
I updated and was still seeing the same error.
Strangely I was only seeing it on only one of my Virtual Lux Sensors and not the other.
Further investigation showed that I was using you old original driver.
Updated and now its OK.
Sorry about that but I was convinced I'd changed it.
Once again. Sorry.........
No probs.. the code needed cleaning up anyway
So long as it works for you now.
Updated driver to V1.3.2
Fixed issue with temp unit selection & LastDevice
Hey @Cobra I got this updated but I'm still seeing this in my logs for the device:
2018-11-15 11:22:47.627 am errorgroovy.lang.MissingMethodException: No signature of method: dev15423023220091490990862.lastDeviceHumidity() is applicable for argument types: (org.codehaus.groovy.runtime.GStringImpl) values: [Environment Sensor EX - Office] Possible solutions: lastDeviceHumid(java.lang.Object) (lastDeviceHumidity)
Device in question is one of @iharyadi's sensor boards. Average temp and humidity still appear to be working.
There is a typo on line 124 of the driver
JUST that entry, further entries are ok
I’ll post an updated ver tomorrow
Thanks Andy, much appreciated.
Did changing that line fix things?
Updated github with ver 1.3.3
With the line 124 fix
Just created an Average all for temps in the house. Was not able to use a virtual device with the DH selected as a "virtual temperature sensor" had to make my virtual device a "virtual thermostat" for it to show up in the list. Hope that made sense.
Did you use the ‘average all’ device?
This IS a virtual temp device not a thermostat.
However; I believe the HE virtual thermostat can also be used as the target as I changed the commands to accept this at the request of one user.
The only issue was the ‘lastdevice’ command being sent to the device.
The thermostat does not have it so will error in the logs
So that's what I was trying to say. I first created a virtual temp device. Then when I went to create a average all the newly created virtual temp device did NOT show up in the list for me to select it. HOWEVER when I changed the newly created virtual temp device to a virtual thermostat device....I could choose it.
I understand what you have done. @deanturner39 uses the same thing further up this thread.
What app were you using that needed a thermostat rather than a temperture sensor?
I don't think you are understanding. I first created an virtual temp sensor called "vTemp House Average" Then I went into average all to create the app. however when I got to the part to pick the virtual sensor, "vTemp House Average" did NOT show up in the list. I went back and forth a few times resaving the vTemp sensor thinking maybe it just didn't update yet. No luck. I then CHANGED "vTemp House Average" to a virtual thermostat and then in your app when I went to pick the virtual sensor it was in the list.
What driver did you use for ‘vTemp House Average’ when you first created it?
Did you use my average device driver?
ahhhh, no. I used the built in "Virtual Temp sensor"
I’m pretty sure it says everywhere you must use my driver.. which was written specifically for this app! :
So that is my problem. You need to add instructions about this driver to the Average All page on your new website. I tried every different temp driver I could find to get ride of the error.