Same.
I'll give it 30+ to auto reconnect and check again.
Same.
I'll give it 30+ to auto reconnect and check again.
You can force it by clicking the Initialize button on the device page
If I do I get the above "status: closing" error.
Ok, but is webSocketOpen false?
Trying something crazy.... give me 5 mins
I deleted and reinstalled. As I was deleting, I noticed my Zone 1 looked like @TechMedX's but the rest all said false for wwbSocketOpen then 0s for next 2. When I reinstalled, same thing. I don't know why it might matter but I do have Zone 1 run by itself in Program A and the other 5 run on Program B at different days & times than Program A.
New version of the sprinkler driver that hopefully works for you guys. It's going to log a lot more so hopefully if there is a problem it will help see what's going on. However, if it doesn't work, I think I need to wait to see if someone else can provide insight.
Lots of true,true,true, but no Open,Open,Open Error only when initializing is hit.
@nkyspike Is your app still working?
I don’t know that I can fix it without help from the HE team. I’m suspecting I’m receiving the messages out of order. And apparently when you send a message and it fails, HE doesn’t tell me. So I don’t know I need to reconnect. It’s possible I’m doing something wrong but I’m just not seeing it
I’ll try adding some thread synchronization later but that’s all I can think of. I really need the sendMessage to fail if I’ve been disconnected so I know to reconnect. But it doesn’t seem to.
Just found a serious bug that would prevent open/close from working. I also started a very basic retry system. So if you click open while the socket is disconnected, it will attempt to realize that, and reconnect, then retry. So you would see something like:
Let's see how this helps! I won't be around much the rest of this evening though.
You ARE
DA MAN!!
It works!!!!
can I bug you now to add % to the battery attribute lol
arnb says it needs this
sendEvent(name:"battery", value:value, descriptionText:descriptionText, unit: "%", isStateChange: true)
Can confirm On/Off is working!
I just upgraded this AM and the manual control is now working but i am still getting false for webSocketOpen and 0s for the Retry variables. If manual is working, that's what matters to me.
So, last night before upgrading, I created a Hubigraph Timeline for the 5 zones that ran this morning. The program goes thru each zone 2-6 for about 6-10 minutes depending on Zone then goes back to Zone 2 and runs thru them again 3 more times. This starts about 2am and ends by 6am. The weird thing is that the Hubigraph showed that the valves for all 6 zones were open for the entire length of one pass of my sprinkler program. It is showing the time from when first zone starts in a pass until last zone stops. Weird. Bhyve Front Beds never ran this morning but it is showing as part of the program. It is on a separate program.
Hubigraph is graphing the "valve" value of open vs closed. Ignore the bars to the left. That was before I installed B-Hyve so it is using null data. I obviously wasn't up to watch this happen so this could very easily be user error with Hubigraph. I will check again now that I have upgraded when my program runs again on Thursday.
Could you show logs? What kind of devices do you have? I’ve only tested the regular hose timer. It sounds like you have a different device.
I have the 6-station controller and the hose timer. I only graphed the 6-station controller. I don't have any programs running on the hose timer right now. You only have the hose timer correct?
Let me see what happens on Thursday when it runs again after upgrade and i will try and capture logs.
Ok. I’ll add a bit more logging before then too. Just making sure when you control from he only one zone opens at a time correct?
yes when I control manually thru HE, only the valve I want to open opens.
Ok. I’m sure something isn’t looking at a station Id properly. I’ll try to look into it tonight.
Please don't put in too much effort. It's not a big deal. However, if you are anything like me, if something isn't working right, it will just gnaw on you until you figure it out. I will be very impressed if you can figure it out when you don't even have one of the 6-station controllers.