Search found 2 matches

by sandervl
Thu Aug 10, 2017 10:36 pm
Forum: Opentherm Gateway Forum
Topic: No love between node.js and otmonitor websockets
Replies: 3
Views: 4662

Re: No love between node.js and otmonitor websockets

I found out what the problem is, otmonitor requires the origin header to be set. Weirdly enough it doesn't matter what you set it to as long as it's not empty. This .js code works fine: var socket = new ws(node.path, { origin: "localhost" }); And the result in the command line is as follow...
by sandervl
Wed Aug 09, 2017 11:40 pm
Forum: Opentherm Gateway Forum
Topic: No love between node.js and otmonitor websockets
Replies: 3
Views: 4662

No love between node.js and otmonitor websockets

I'm building a solution where I am using Node-Red, a flow-based programming tool for wiring together hardware devices to talk to a number of sensors and to otmonitor. Node-Red offers a way to connect to websockets but for some reason it does not connect to otmonitor. Node-Red is based on node.js and...

Go to advanced search