Assistant relay works from ST webcore, but not from Hubitat webcore


#1

1) Give a description of the problem
Assistant relay works from webcore(ST) but not from webcore (Hubitat)

2) What is the expected behaviour?
Broadcast to assistant relay

3) What is happening/not happening?
Not broadcasting. Pushmessage goes through… so only the AR part is not working.

**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach logs after turning logging level to Full

28.1.2021 klo 22.01.14 +222ms
+47ms ╔Received event [HubitatHome].wc_async_reply = httpRequest with a delay of 91ms, canQueue: false, calledMyself: true
+51ms ║RunTime initialize > 50 LockT > 1ms > rtDT > 1ms > pistonT > 0ms (first state access 48 48 2)
+53ms ║Runtime (6573 bytes) successfully initialized in 1ms (v0.3.110.20210123_HE)
+56ms ║╔Execution stage started
+64ms ║╚Execution stage complete. (7ms)
+96ms ╚Event processed successfully (95ms)

28.1.2021 klo 22.01.14 +23ms
+2ms ╔Received event [Presence_vswitch].presence = not present with a delay of 29ms, canQueue: true, calledMyself: false
+15ms ║RunTime initialize > 14 LockT > 1ms > rtDT > 1ms > pistonT > 0ms (first state access 12 4 10)
+17ms ║Runtime (6567 bytes) successfully initialized in 1ms (v0.3.110.20210123_HE)
+19ms ║╔Execution stage started
+26ms ║║Comparison (enum) not present changes_to (string) not present = true (1ms)
+28ms ║║Cancelling condition #45's schedules...
+30ms ║║Condition #45 evaluated true (7ms)
+31ms ║║Cancelling condition #26's schedules...
+33ms ║║Condition group #26 evaluated true (state changed) (11ms)
+34ms ║║Cancelling statement #35's schedules...
+61ms ║║Executed virtual command sendPushNotification (22ms)
+68ms ║║Executed virtual command setVariable (3ms)
+79ms ║║Sending asynchttpPost web request to: 192.168.86.30:3000/assistant
+81ms ║║Executed virtual command httpRequest (6ms)
+83ms ║║Requesting a wake up for Thu, Jan 28 2021 @ 10:01:38 PM EET (in 24s)
+90ms ║╚Execution stage complete. (71ms)
+110ms ║Setting up scheduled job for Thu, Jan 28 2021 @ 10:01:38 PM EET (in 24s)
+112ms ╚Event processed successfully (112ms)

28.1.2021 klo 22.01.14 +132ms
+3ms ╔Received event [HubitatHome].wc_async_reply = httpRequest with a delay of 1ms, canQueue: true, calledMyself: false
+7ms ╚Event queued (7ms)

28.1.2021 klo 22.01.07 +666ms
+2ms ╔Received event [Presence_vswitch].presence = present with a delay of 36ms, canQueue: true, calledMyself: false
+28ms ║RunTime initialize > 27 LockT > 1ms > rtDT > 19ms > pistonT > 18ms (first state access 7 4 23)
+31ms ║Runtime (6648 bytes) successfully initialized in 19ms (v0.3.110.20210123_HE)
+32ms ║╔Execution stage started
+40ms ║║Comparison (enum) present changes_to (string) not present = false (0ms)
+42ms ║║Condition #45 evaluated false (6ms)
+44ms ║║Condition group #26 evaluated false (state did not change) (7ms)
+48ms ║╚Execution stage complete. (16ms)
+51ms ╚Event processed successfully (50ms)

28.1.2021 klo 22.00.16 +908ms
+13ms ╔Subscribing to devices...
+16ms ║Using Attribute subscription
+212ms ║Device missing from piston. Loading all from parent (193ms)
+219ms ║Subscribing to Presence_vswitch.presence...
+244ms ╚Finished subscribing (236ms)
+262ms ╔Starting piston... (v0.3.110.20210123_HE)
+264ms ╚Piston successfully started (256ms)

#2

Do you have any logs on the assistant side on what it is receiving / responding to?


#3

Yep. In AR log there is only those broadcast command which are sent from ST side. Nothing shows up to AR log when I’m trying to generate from new side. :frowning:


#4

Actually I’m getting 408 error according hubitat live log.
“Remote host closed connection during handshake”

It happens In hubitat with Eventghost application too. So for some reason server and hubitat can’t create connection.


#5

so is your url http or https?

I suggest you fill that in


#6

Ok that’s it. I need to add http to url. :open_mouth: Thank you!