Open soupman98 opened 2 years ago
Hey @soupman98, could you post your MSP Config so I can see what device type these relays are and what their properties look like?
To get the MSP Config you can log into https://graph-na04-useast2.api.smartthings.com/location/list and click the smartapps
link in the last column of the table. Then click Omnilogic
and copy everything next to mspConfig
.
And while you're there, please also copy the telemetryData
.
MSP - Soup (me)
<?xml version="1.0" encoding="UTF-8"?>
TELEMETRY - SOUP
I may have to enable or configure the other three LV relays. I was going to initially use the HV and switch 120 on/off, but am now switchin 12VAC on/off instead. so only "FIRE_PIT" is truly active or used
Hey @soupman98 This problem is fixed too in the development
branch. (https://github.com/maartenvantjonger/omnilogic-smartapp/tree/development).
I simply wasn't checking the Backyard for any devices other than temperature sensors.
Now I'm checking for relay devices too.
Please try updating omnilogic.groovy
and check the devices page to see if they show up.
Awesome @maartenvantjonger . You are the man. Let me now go figure out branches and updates.. It's been a while..
i deleted all things, all DTH and the app(s). reinstalled DTH (create new and copy each file... gotta be a better way), re-added devices via app. No Backyard relays showed up , nor were any offered. The heater looks good now, and the valve icons look better :P)...
12.19.21 telemetry
<?xml version="1.0" encoding="UTF-8"?>
12/19.21 MSP config
<?xml version="1.0" encoding="UTF-8"?>
12.19 devices
{omnilogic-1={attributes={bowId=1, sensorType=SENSOR_WATER_TEMPSENSOR_FLOW, temperatureUnit=UNITS_FAHRENHEITUNITS_ACTIVE_INACTIVE}, driverName=OmniLogic Temperature Sensor, name=Swimmin Hol, omnilogicId=1}, omnilogic-108728={attributes={bowId=null, sensorType=SENSOR_AIR_TEMP, temperatureUnit=UNITS_FAHRENHEIT}, driverName=OmniLogic Temperature Sensor, name=Backyard, omnilogicId=108728}, omnilogic-2={attributes={bowId=1, bowType=0}, driverName=OmniLogic VSP, name=Swimmin Hol Filter, omnilogicId=2}, omnilogic-3={attributes={bowId=1, bowType=0, maxTemperature=88, minTemperature=55, omnilogicHeaterId=, temperatureUnit=UNITS_FAHRENHEITUNITS_ACTIVE_INACTIVE}, driverName=OmniLogic Heater, name=Swimmin Hol Heater, omnilogicId=3}, omnilogic-5={attributes={bowId=1, bowType=0, cellType=4}, driverName=OmniLogic Chlorinator, name=Swimmin Hol Chlorinator, omnilogicId=5}, omnilogic-5s={attributes={bowId=1, bowType=0, deviceIdSuffix=s}, driverName=OmniLogic Super Chlorinator, name=Swimmin Hol Super Chlorinator, omnilogicId=5}, omnilogic-7={attributes={bowId=1, bowType=0}, driverName=OmniLogic Relay, name=Swimmin Hol Deck jets, omnilogicId=7}, omnilogic-8={attributes={bowId=1, bowType=0}, driverName=OmniLogic Relay, name=Swimmin Hol Deck bubbler, omnilogicId=8}, omnilogic-9={attributes={bowId=1, bowType=0}, driverName=OmniLogic Light, name=Swimmin Hol Pool lights, omnilogicId=9}} --i deleted all things, all DTH and the app(s). reinstalled DTH (create new and copy each file... gotta be a better way), re-added devices via app. No Backyard relays showed up , nor were any offered. The heater looks good now, and the valve icons look better :P)...
Yes, there is a better way. You can add the development
branch here and then you get the option to update the app and DTHs from that branch instead of the main branch:
I'm not sure why it wouldn't pick up the relays. Would you mind opening the Live Logging page and look for errors when you open up the Devices page in the app?
BTW: you can post XML between two sets of triple code brackets: ``` That way the XML tags aren't filtered out by github.
It would look like:
<?xml version="1.0" encoding="utf-8"?>
<MSPConfig>
<System>
<Msp-Vsp-Speed-Format>RPM</Msp-Vsp-Speed-Format>
<Msp-Time-Format>12 Hour Format</Msp-Time-Format>
<Units>Standard</Units>
<Msp-Chlor-Display>Salt</Msp-Chlor-Display>
<Msp-Language>English</Msp-Language>
<UI-Display-Mode>standard</UI-Display-Mode>
<UI-MoodColor-Enabled>Yes</UI-MoodColor-Enabled>
<UI-Heater-SimpleMode>Yes</UI-Heater-SimpleMode>
<UI-Filter-SimpleMode>Yes</UI-Filter-SimpleMode>
<UI-Lights-SimpleMode>Yes</UI-Lights-SimpleMode>
</System>
...etcetera
I just to mocked your MSP config in my app and it actually was able to find the relays. May you forgot to publish the app after updating the code?
Yes, there is a better way. You can add the
development
branch here and then you get the option to update the app and DTHs from that branch instead of the main branch:
Actually, this is not as convenient as it sounds. You'll also have to change each driver and app's GitHub Repository
setting to point to the development
branch (See screenshot). That's not ideal. I usually just copy/paste the code from github until it hits the main
branch at which point you can just hit Update from repo
to overwrite everything.
Hi again, Still love the work and the opportunity to integrate Omni Pool with ST. My pool controller has four (4) high voltage (HV) relays and four (4) low voltage (LV) relays. One of the HV relays presently controls lights... The others are wired to various features (lights also) in an object called "Backyard"
As you know, you can do bodies of water and then other objects (like the yard). Any ideas on how to get them all to show up?