-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Trying to figure out why my tiltpi is no longer logging to Brewfather. The toast pops up saying logging request sent, but there is no subsequent toast or information and the request is never received by Brewfather.
- tiltpi can reach the internet.
- brewfather endpoint working correctly (tested using tilt app on phone)
- have had a couple of prior brews work fine on the system
- tiltpi rebooted a couple of times
Dived in to attempt a little Node Red debugging (using node.warn)
- In Setup Cloud Post node, the flow.get('cloudURL') was returning undefined.
- Re-setting the Cloud URL had no effect
- In trying to debug further, I added a warn to the Custom CloudURL node to tell me the value of msg.payload. Not actually the thing I was trying to look at, so I had to flip the switch "Use Default Cloud URL for All" to show anything. "msg.payload" was initially "true" when entering the function; which I guess matches the "on" value for the setting. set it back to off, "msg.payload" back to "false" as expected.
After that it looks like the flow.get('cloudURL') starts to succeed.
It looks like there's a logic bug buried in the node graph/code which causes this value to be undefined somehow and cause subsequent logging failures.
Happy to provide any logs etc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels