Closed sfalvey closed 5 years ago
Does your smartthings log show it attempting to search for or create child devices at all? If not it likely isn't receiving any packets from the pi. The refresh events it's logging are ST requesting refreshed info from the pi, but IIRC I haven't implemented that on the omnithing side yet.
One thing to try is hitting the configure button in the ST app for the parent device. Going into and re-saving the settings also sometimes helps. I also recommend adding a "poll" trigger for each of your devices, so they will periodically communicate with smartthings even if there was no change.
The outputs being set to on/off on startup is an architectural limitation where the OutputBools initialize themselves to their initial values when constructed. I plan to add an actual door control device type which uses an OutputVoid to toggle the door. This should alleviate that issue, and I'll try to add that this week/weekend if I find the time.
It was reporting errors in the ST logs. But, bizzarely without changing anything its just started working.
The switches in the ST app seem to get stuck in turning on/turning off but the door is opening and closing on the required press. I have return codes open=0 and closed=1 for the operate command and the status command. Are these what determine the status for the ST app?
I have added the poll trigger as recommended and I'm happy to give your door code a test when you have it ready. Thanks for your help on this.
I cant figure out what I'm doing wrong here. Everything seems to be configured correctly but I get no new devices registered in ST except for the one I have manually put in.
Here is the config
In ST I have
I can see in live logging that the refresh signal gets received but nothing more happens than that.
Also when omnithings starts it seems to want to run the on/off commands, which since its controlling my garage doors seems a bit odd. Here is the latest log