Copyright ©

Mongoose OS Forum

ATTENTION! This forum has moved to:

Do not post any new messages.

RPC MQTT and dallas_temp caused webserver to not work

mtraxmtrax Canberra

Uisng an existing JS script that has a RPC MQTT I attempted to add some code to read from a DS1820 (temp. sensor)

let ow = OneWire.create(pin);
// Initialize DallasTemperature library
let dt = DallasTemperature.create(ow);

After I added the Onewire create code I couldn't connect to the HTTP server .
Not sure if its a bug of I've run out of memory etc..

is this possible ie to use a some code to switch some relays and output some MQTT messages and also use the onewire libraries etc..

Sign In or Register to comment.