You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got a GreenBean and bought an oven to drive with it, but I'm having some trouble getting started. When I run the start-cooking.js sample it asks me to "enable remote", which I don't know how to do on my oven (there's no button to that effect; maybe it's a combo, but I don't know what it is). I tried doing a few writes without subscribing to remote control enable, and those didn't turn the oven on either. I subscribed to the oven state, and I can then see that when I try to write the state, I get called back with a state change where everything is zeroed out (i.e.: the write failed).
What do I need to do to get cooking remotely?
Here's my current test, derived from start-cooking.js:
var gea = require("gea-sdk");
var adapter = require("gea-adapter-usb");
var app = gea.configure({
address: 0xcb
});
app.plugin(require("gea-plugin-range"));
app.bind(adapter, function (bus) {
bus.once("range", function (range) {
console.log("range version:", range.version.join("."));
range.ovenConfiguration.subscribe(function(value) {
console.log("oven configuration changed:", value);
});
range.upperOven.currentState.subscribe(function(value) {
console.log("upper oven current state changed:", value);
});
range.upperOven.cookMode.subscribe(function(value) {
console.log("upper oven cook mode changed:", value);
});
range.upperOven.cookMode.write({
mode: 18, // convection bake no option
cookTemperature: 350, // degrees in fahrenheit
cookHours: 1, // number of hours
cookMinutes: 0 // number of minutes
});
});
});
Actually, I see in the protocol specification document (to12) that there's an upper oven remote enable command that can be written. Is this not implemented in the gea-plugin-range code (because all the API documentation says that remote enable is read only...)
"i. Use “Upper Oven Remote Enable” ERD (0x510A) – e.g. write ERD and enable
If I just observe, then I can use the buttons on the oven to turn on the upper oven. I see that when I press "START" the remote enable comes on -- but if I try to write any setting, then the oven immediately turns off again. It's as if my oven is speaking an older version of the protocol or something.
Hi!
I got a GreenBean and bought an oven to drive with it, but I'm having some trouble getting started. When I run the start-cooking.js sample it asks me to "enable remote", which I don't know how to do on my oven (there's no button to that effect; maybe it's a combo, but I don't know what it is). I tried doing a few writes without subscribing to remote control enable, and those didn't turn the oven on either. I subscribed to the oven state, and I can then see that when I try to write the state, I get called back with a state change where everything is zeroed out (i.e.: the write failed).
What do I need to do to get cooking remotely?
Here's my current test, derived from start-cooking.js:
Here's the output it generates:
The text was updated successfully, but these errors were encountered: