Closed jeannot19 closed 1 year ago
Something is going wrong when the nodes are initialized. My first guess is, that there is a conflict with some other node set. Can you please send your package.json and settings.json from the node-red user directory?
pm'ed the files, thanks Ollixx!
Hi Ollixx, I just realized you also pm me, so here are my files. I edited a bit of sensitive stuff.
Thanks!
On Wed, Jan 5, 2022 at 6:10 AM ollixx @.***> wrote:
Something is going wrong when the nodes are initialized. My first guess is, that there is a conflict with some other node set. Can you please send your package.json and settings.json from the node-red user directory?
— Reply to this email directly, view it on GitHub https://github.com/ollixx/node-red-contrib-components/issues/54#issuecomment-1005593287, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXE57IX6Z5AGJBMD22MVT6TUUQRLVANCNFSM5LH4EW6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
-- Jean
/**
module.exports = { // the tcp port that the Node-RED web server is listening on uiPort: process.env.PORT || 1880,
// By default, the Node-RED UI accepts connections on all IPv4 interfaces.
// To listen on all IPv6 addresses, set uiHost to "::",
// The following property can be used to listen on a specific interface. For
// example, the following would only allow connections from the local machine.
//uiHost: "127.0.0.1",
// Retry time in milliseconds for MQTT connections
mqttReconnectTime: 15000,
// Retry time in milliseconds for Serial port connections
serialReconnectTime: 15000,
// Retry time in milliseconds for TCP socket connections
//socketReconnectTime: 10000,
// Timeout in milliseconds for TCP server socket connections
// defaults to no timeout
//socketTimeout: 120000,
// Maximum number of messages to wait in queue while attempting to connect to TCP socket
// defaults to 1000
//tcpMsgQueueSize: 2000,
// Timeout in milliseconds for HTTP request connections
// defaults to 120 seconds
//httpRequestTimeout: 120000,
// The maximum length, in characters, of any message sent to the debug sidebar tab
debugMaxLength: 1000,
// The maximum number of messages nodes will buffer internally as part of their
// operation. This applies across a range of nodes that operate on message sequences.
// defaults to no limit. A value of 0 also means no limit is applied.
//nodeMessageBufferMaxLength: 0,
// To disable the option for using local files for storing keys and certificates in the TLS configuration
// node, set this to true
//tlsConfigDisableLocalFiles: true,
// Colourise the console output of the debug node
//debugUseColors: true,
// The file containing the flows. If not set, it defaults to flows_<hostname>.json
//flowFile: 'flows.json',
// To enabled pretty-printing of the flow within the flow file, set the following
// property to true:
//flowFilePretty: true,
// By default, credentials are encrypted in storage using a generated key. To
// specify your own secret, set the following property.
// If you want to disable encryption of credentials, set this property to false.
// Note: once you set this property, do not change it - doing so will prevent
// node-red from being able to decrypt your existing credentials and they will be
// lost.
//credentialSecret: "a-secret-key",
// By default, all user data is stored in a directory called `.node-red` under
// the user's home directory. To use a different location, the following
// property can be used
//userDir: '/home/nol/.node-red/',
// Node-RED scans the `nodes` directory in the userDir to find local node files.
// The following property can be used to specify an additional directory to scan.
//nodesDir: '/home/nol/.node-red/nodes',
// By default, the Node-RED UI is available at http://localhost:1880/
// The following property can be used to specify a different root path.
// If set to false, this is disabled.
//httpAdminRoot: '/admin',
// Some nodes, such as HTTP In, can be used to listen for incoming http requests.
// By default, these are served relative to '/'. The following property
// can be used to specifiy a different root path. If set to false, this is
// disabled.
//httpNodeRoot: '/red-nodes',
// The following property can be used in place of 'httpAdminRoot' and 'httpNodeRoot',
// to apply the same root to both parts.
//httpRoot: '/red',
// When httpAdminRoot is used to move the UI to a different root path, the
// following property can be used to identify a directory of static content
// that should be served at http://localhost:1880/.
//httpStatic: '/home/nol/node-red-static/',
// The maximum size of HTTP request that will be accepted by the runtime api.
// Default: 5mb
//apiMaxLength: '5mb',
// If you installed the optional node-red-dashboard you can set it's path
// relative to httpRoot
//ui: { path: "ui" },
// Securing Node-RED
// -----------------
// To password protect the Node-RED editor and admin API, the following
// property can be used. See http://nodered.org/docs/security.html for details.
//adminAuth: {
// type: "credentials",
// users: [{
// username: "admin",
// password: "$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.",
// permissions: "*"
// }]
//},
// To password protect the node-defined HTTP endpoints (httpNodeRoot), or
// the static content (httpStatic), the following properties can be used.
// The pass field is a bcrypt hash of the password.
// See http://nodered.org/docs/security.html#generating-the-password-hash
//httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."},
//httpStaticAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."},
// The following property can be used to enable HTTPS
// See http://nodejs.org/api/https.html#https_https_createserver_options_requestlistener
// for details on its contents.
// This property can be either an object, containing both a (private) key and a (public) certificate,
// or a function that returns such an object:
//// https object:
//https: {
// key: require("fs").readFileSync('privkey.pem'),
// cert: require("fs").readFileSync('cert.pem')
//},
////https function:
// https: function() {
// // This function should return the options object, or a Promise
// // that resolves to the options object
// return {
// key: require("fs").readFileSync('privkey.pem'),
// cert: require("fs").readFileSync('cert.pem')
// }
// },
// The following property can be used to refresh the https settings at a
// regular time interval in hours.
// This requires:
// - the `https` setting to be a function that can be called to get
// the refreshed settings.
// - Node.js 11 or later.
//httpsRefreshInterval : 12,
// The following property can be used to cause insecure HTTP connections to
// be redirected to HTTPS.
//requireHttps: true,
// The following property can be used to disable the editor. The admin API
// is not affected by this option. To disable both the editor and the admin
// API, use either the httpRoot or httpAdminRoot properties
//disableEditor: false,
// The following property can be used to configure cross-origin resource sharing
// in the HTTP nodes.
// See https://github.com/troygoode/node-cors#configuration-options for
// details on its contents. The following is a basic permissive set of options:
//httpNodeCors: {
// origin: "*",
// methods: "GET,PUT,POST,DELETE"
//},
// If you need to set an http proxy please set an environment variable
// called http_proxy (or HTTP_PROXY) outside of Node-RED in the operating system.
// For example - http_proxy=http://myproxy.com:8080
// (Setting it here will have no effect)
// You may also specify no_proxy (or NO_PROXY) to supply a comma separated
// list of domains to not proxy, eg - no_proxy=.acme.co,.acme.co.uk
// The following property can be used to add a custom middleware function
// in front of all http in nodes. This allows custom authentication to be
// applied to all http in nodes, or any other sort of common request processing.
//httpNodeMiddleware: function(req,res,next) {
// // Handle/reject the request, or pass it on to the http in node by calling next();
// // Optionally skip our rawBodyParser by setting this to true;
// //req.skipRawBodyParser = true;
// next();
//},
// The following property can be used to add a custom middleware function
// in front of all admin http routes. For example, to set custom http
// headers
// httpAdminMiddleware: function(req,res,next) {
// // Set the X-Frame-Options header to limit where the editor
// // can be embedded
// //res.set('X-Frame-Options', 'sameorigin');
// next();
// },
// The following property can be used to pass custom options to the Express.js
// server used by Node-RED. For a full list of available options, refer
// to http://expressjs.com/en/api.html#app.settings.table
//httpServerOptions: { },
// The following property can be used to verify websocket connection attempts.
// This allows, for example, the HTTP request headers to be checked to ensure
// they include valid authentication information.
//webSocketNodeVerifyClient: function(info) {
// // 'info' has three properties:
// // - origin : the value in the Origin header
// // - req : the HTTP request
// // - secure : true if req.connection.authorized or req.connection.encrypted is set
// //
// // The function should return true if the connection should be accepted, false otherwise.
// //
// // Alternatively, if this function is defined to accept a second argument, callback,
// // it can be used to verify the client asynchronously.
// // The callback takes three arguments:
// // - result : boolean, whether to accept the connection or not
// // - code : if result is false, the HTTP error status to return
// // - reason: if result is false, the HTTP reason string to return
//},
// The following property can be used to seed Global Context with predefined
// values. This allows extra node modules to be made available with the
// Function node.
// For example,
// functionGlobalContext: { os:require('os') }
// can be accessed in a function block as:
// global.get("os")
functionGlobalContext: {
// os:require('os'),
// jfive:require("johnny-five"),
// j5board:require("johnny-five").Board({repl:false})
},
// `global.keys()` returns a list of all properties set in global context.
// This allows them to be displayed in the Context Sidebar within the editor.
// In some circumstances it is not desirable to expose them to the editor. The
// following property can be used to hide any property set in `functionGlobalContext`
// from being list by `global.keys()`.
// By default, the property is set to false to avoid accidental exposure of
// their values. Setting this to true will cause the keys to be listed.
exportGlobalContextKeys: false,
// Context Storage
// The following property can be used to enable context storage. The configuration
// provided here will enable file-based context that flushes to disk every 30 seconds.
// Refer to the documentation for further options: https://nodered.org/docs/api/context/
//
//contextStorage: {
// default: {
// module:"localfilesystem"
// },
//},
// The following property can be used to order the categories in the editor
// palette. If a node's category is not in the list, the category will get
// added to the end of the palette.
// If not set, the following default order is used:
//paletteCategories: ['subflows', 'common', 'function', 'network', 'sequence', 'parser', 'storage'],
// Configure the logging output
logging: {
// Only console logging is currently supported
console: {
// Level of logging to be recorded. Options are:
// fatal - only those errors which make the application unusable should be recorded
// error - record errors which are deemed fatal for a particular request + fatal errors
// warn - record problems which are non fatal + errors + fatal errors
// info - record information about the general running of the application + warn + error + fatal errors
// debug - record information which is more verbose than info + info + warn + error + fatal errors
// trace - record very detailed logging + debug + info + warn + error + fatal errors
// off - turn off all logging (doesn't affect metrics or audit)
level: "info",
// Whether or not to include metric events in the log output
metrics: false,
// Whether or not to include audit events in the log output
audit: false
}
},
// Customising the editor
editorTheme: {
projects: {
// To enable the Projects feature, set this value to true
enabled: false
}
}
}
[{"id":"f18a0e65.9258d","type":"tab","label":"jjjjj Flows","disabled":false,"info":""},{"id":"7e909bcf.1a2e94","type":"tab","label":"jjjj Dashboard","disabled":false,"info":""},{"id":"6d9ab981.0ca138","type":"tab","label":"Au Chalet","disabled":false,"info":""},{"id":"e8b25edf.5b0c5","type":"tab","label":"Miscou","disabled":false,"info":""},{"id":"bdef2ebb.bdb07","type":"mqtt-broker","name":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"2af80bb.140fbf4","type":"mqtt-broker","name":"","broker":"localhost:1883","port":"1883","clientid":"chez_jjjjj","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"94eb7716.3f2168","type":"ui_tab","name":"Chez jjjjj","icon":"dashboard","order":1,"disabled":false,"hidden":false},{"id":"4626d941.67e298","type":"ui_tab","name":"Chez Mario","icon":"dashboard","order":4,"disabled":false,"hidden":false},{"id":"78409ab6.027ce4","type":"ui_group","name":"Environnement","tab":"5076fdc0.af5214","order":2,"disp":true,"width":"18","collapse":false},{"id":"b182b89b.a2ead8","type":"ui_group","name":"Lumières","tab":"5076fdc0.af5214","order":3,"disp":true,"width":"8","collapse":false},{"id":"77597c85.f00ea4","type":"ui_group","name":"Détection","tab":"5076fdc0.af5214","order":4,"disp":true,"width":"6","collapse":false},{"id":"116911b0.54046e","type":"ui_group","name":"Smart Plugs","tab":"5076fdc0.af5214","order":5,"disp":true,"width":"6","collapse":false},{"id":"c2e73349.ebf3c","type":"ui_group","name":"Dehors","tab":"5076fdc0.af5214","order":1,"disp":true,"width":"18","collapse":false},{"id":"3ea03a0a.a82436","type":"ui_group","name":"Maison","tab":"9ca784be.c82ab8","order":1,"disp":true,"width":"12","collapse":false},{"id":"9a4958f2.a9a338","type":"ui_group","name":"Relais","tab":"44858743.c46f78","order":4,"disp":true,"width":"18","collapse":false,"className":""},{"id":"a9a53fa2.9e1c","type":"ui_spacer","name":"spacer","group":null,"order":4,"width":"21","height":"9"},{"id":"4ebbabb4.2f0fb4","type":"ui_spacer","name":"spacer","group":null,"order":6,"width":1,"height":1},{"id":"b616a239.a7406","type":"ui_base","theme":{"name":"theme-dark","lightTheme":{"default":"#0094CE","baseColor":"#0094CE","baseFont":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif","edited":true,"reset":false},"darkTheme":{"default":"#097479","baseColor":"#097479","baseFont":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif","edited":true,"reset":false},"customTheme":{"name":"Untitled Theme 1","default":"#4B7930","baseColor":"#4B7930","baseFont":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"},"themeState":{"base-color":{"default":"#097479","value":"#097479","edited":false},"page-titlebar-backgroundColor":{"value":"#097479","edited":false},"page-backgroundColor":{"value":"#111111","edited":false},"page-sidebar-backgroundColor":{"value":"#333333","edited":false},"group-textColor":{"value":"#0eb8c0","edited":false},"group-borderColor":{"value":"#555555","edited":false},"group-backgroundColor":{"value":"#333333","edited":false},"widget-textColor":{"value":"#eeeeee","edited":false},"widget-backgroundColor":{"value":"#097479","edited":false},"widget-borderColor":{"value":"#333333","edited":false},"base-font":{"value":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"}},"angularTheme":{"primary":"indigo","accents":"blue","warn":"red","background":"grey","palette":"light"}},"site":{"name":"Frères","hideToolbar":"true","allowSwipe":"true","lockMenu":"true","allowTempTheme":"true","dateFormat":"DD/MM/YYYY","sizes":{"sx":24,"sy":24,"gx":6,"gy":6,"cx":6,"cy":6,"px":0,"py":0}}},{"id":"ca60f61d.6fb478","type":"mqtt-broker","name":"","broker":"localhost:1883","port":"1883","clientid":"chez_jjjjj","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"5076fdc0.af5214","type":"ui_tab","name":"Chez jjjjj","icon":"dashboard","order":1,"disabled":false,"hidden":false},{"id":"51317b35.48e084","type":"ui_group","name":"Environnement","tab":"5076fdc0.af5214","order":2,"disp":true,"width":"18","collapse":false},{"id":"8065ff92.b62d","type":"ui_group","name":"Lumières","tab":"5076fdc0.af5214","order":3,"disp":true,"width":"8","collapse":false},{"id":"3a0d66fc.240fca","type":"ui_group","name":"Détection","tab":"5076fdc0.af5214","order":4,"disp":true,"width":"6","collapse":false},{"id":"6f194a9e.8915e4","type":"ui_group","name":"Smart Plugs","tab":"5076fdc0.af5214","order":5,"disp":true,"width":"6","collapse":false},{"id":"34423d24.6d8a52","type":"ui_group","name":"Dehors","tab":"5076fdc0.af5214","order":1,"disp":true,"width":"18","collapse":false},{"id":"44858743.c46f78","type":"ui_tab","name":"Chez jjjj","icon":"dashboard","order":2,"disabled":false,"hidden":false},{"id":"c99c3e39.395b1","type":"ui_group","z":"7e909bcf.1a2e94","name":"Eclairage","tab":"44858743.c46f78","order":1,"disp":true,"width":"8","collapse":false},{"id":"9ca784be.c82ab8","type":"ui_tab","name":"Chez Mario","icon":"dashboard","order":4,"disabled":false,"hidden":false},{"id":"d414fe38.c2631","type":"ui_group","name":"Maison","tab":"9ca784be.c82ab8","order":1,"disp":true,"width":"12","collapse":false},{"id":"3a0d6efc.5a3052","type":"ui_spacer","name":"spacer","group":null,"order":4,"width":"21","height":"9"},{"id":"99c1faab.73f978","type":"ui_spacer","name":"spacer","group":null,"order":6,"width":1,"height":1},{"id":"6975b3fa.59417c","type":"ui_group","z":"7e909bcf.1a2e94","name":"Atmosphère","tab":"44858743.c46f78","order":3,"disp":true,"width":"10","collapse":false,"className":""},{"id":"8e028269.a658d","type":"ui_group","name":"Graphiques","tab":"44858743.c46f78","order":2,"disp":true,"width":27,"collapse":false},{"id":"45adff95.5c564","type":"mqtt-broker","broker":"localhost","port":"1883","clientid":"NodeRedSQLClient","usetls":false,"compatmode":true,"keepalive":"15","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"ad419b5d.cbf318","type":"MSSQL-CN","tdsVersion":"7_4","name":"jjjj","server":"mmmmsoft.com","port":"21121","encyption":true,"database":"Automation","useUTC":true,"connectTimeout":"15000","requestTimeout":"15000","cancelTimeout":"5000","pool":"5","parseJSON":true},{"id":"e80a0d2f.e1f2a","type":"MSSQL-CN","name":"Dev","server":"localhost","encyption":false,"database":"Dev"},{"id":"68830440.9390bc","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":3,"width":2,"height":1},{"id":"bea8b47a.e1a4f8","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":4,"width":2,"height":1},{"id":"50f33d0e.60d9a4","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":5,"width":2,"height":1},{"id":"97674af2.e20228","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":6,"width":2,"height":1},{"id":"4d16b87.862db48","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":9,"width":2,"height":1},{"id":"37c92549.c6d29a","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":10,"width":2,"height":1},{"id":"dbe527e.3e4c0d8","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":11,"width":2,"height":1},{"id":"dc61abcc.5121d8","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":12,"width":2,"height":1},{"id":"963d3a90.2f1a88","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":15,"width":2,"height":1},{"id":"d2912b31.c8adc8","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":16,"width":2,"height":1},{"id":"ca54951e.26f8e8","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":17,"width":2,"height":1},{"id":"2f9e866f.86c99a","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":18,"width":2,"height":1},{"id":"962104e8.40a9e8","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":20,"width":7,"height":1},{"id":"1ad17347.c288ed","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":21,"width":7,"height":1},{"id":"84642011.a3bf7","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":22,"width":7,"height":1},{"id":"7870afce.12f71","type":"ui_spacer","z":"6d9ab981.0ca138","name":"spacer","group":null,"order":23,"width":7,"height":1},{"id":"15e63701.f6dbe9","type":"ui_group","name":"Chalet","tab":"44858743.c46f78","order":5,"disp":true,"width":"6","collapse":false,"className":""},{"id":"19fe287.a3a52d8","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":1,"width":6,"height":1},{"id":"bc326132.b2f74","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":3,"width":8,"height":1},{"id":"8318347d.e8ba28","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":4,"width":8,"height":1},{"id":"aa4bcf2b.18bfd","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":5,"width":8,"height":1},{"id":"d8128fe2.aaadd","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":7,"width":1,"height":1},{"id":"c9087976.d8f8c8","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":9,"width":1,"height":1},{"id":"b94d1b50.f67dd8","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":11,"width":1,"height":1},{"id":"61b19624.87e678","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":12,"width":1,"height":1},{"id":"226cbff5.fe51","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":14,"width":8,"height":1},{"id":"ca964112.cbfc","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":16,"width":1,"height":1},{"id":"4638bf5e.3e332","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":18,"width":1,"height":1},{"id":"2e45d146.a88cbe","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":20,"width":1,"height":1},{"id":"9bae77e8.0aad18","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":22,"width":1,"height":1},{"id":"9ce9ea52.674258","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":24,"width":1,"height":1},{"id":"64fa14c8.161bcc","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":26,"width":1,"height":1},{"id":"2c1d3da8.f16112","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":28,"width":1,"height":1},{"id":"8b81a81.b577058","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":29,"width":1,"height":1},{"id":"6f3a4097.cfb19","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":31,"width":1,"height":1},{"id":"1b22f0fa.260f6f","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":32,"width":8,"height":1},{"id":"ba36219c.a321d","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":34,"width":1,"height":1},{"id":"452074b.88bb08c","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":36,"width":1,"height":1},{"id":"3ecc2d02.11dd92","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":38,"width":1,"height":1},{"id":"366ea21a.aabb7e","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"c99c3e39.395b1","order":40,"width":1,"height":1},{"id":"fde40fea.8f254","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"6975b3fa.59417c","order":3,"width":10,"height":1},{"id":"c1855a14.5d9ed8","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"6975b3fa.59417c","order":4,"width":10,"height":1},{"id":"f11d099b.0767b8","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"6975b3fa.59417c","order":10,"width":5,"height":1},{"id":"ba36c515.a2e708","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"6975b3fa.59417c","order":11,"width":5,"height":1},{"id":"5c3d302e.d175","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"6975b3fa.59417c","order":12,"width":5,"height":1},{"id":"3f3d7db3.2eb9b2","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"6975b3fa.59417c","order":13,"width":5,"height":1},{"id":"8f1bdf21.7f52e","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":2,"width":6,"height":1},{"id":"7ff23bbe.0b7084","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":3,"width":6,"height":1},{"id":"c77b606f.5e7dd","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":5,"width":1,"height":1},{"id":"6fc70faf.2c49","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":6,"width":1,"height":1},{"id":"523ccff5.afac1","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":7,"width":1,"height":1},{"id":"f87a978b.0a17d8","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":8,"width":1,"height":1},{"id":"a443fa1c.67aaf8","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":9,"width":6,"height":1},{"id":"58d86a0a.697ae4","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":11,"width":1,"height":1},{"id":"d026ee59.a9d93","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":12,"width":1,"height":1},{"id":"c4b97298.caab9","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":13,"width":1,"height":1},{"id":"ca85a5bc.69e058","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":14,"width":1,"height":1},{"id":"9fb62723.763828","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":15,"width":6,"height":1},{"id":"ad20ac.3c63ef58","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":17,"width":1,"height":1},{"id":"f32c92d8.7c892","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":18,"width":1,"height":1},{"id":"ddc7685c.af8038","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":19,"width":1,"height":1},{"id":"3b4085b.bc1727a","type":"ui_spacer","z":"7e909bcf.1a2e94","name":"spacer","group":"15e63701.f6dbe9","order":20,"width":1,"height":1},{"id":"88b9ef67.1d5bc","type":"mqtt in","z":"f18a0e65.9258d","name":"Poele","topic":"chez_jjjjj/3e77-poele/telemetry","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":70,"y":200,"wires":[["393648f8.a5ab38"]]},{"id":"393648f8.a5ab38","type":"json","z":"f18a0e65.9258d","name":"","property":"payload","action":"","pretty":false,"x":210,"y":200,"wires":[["864cda6f.fffd88"]]},{"id":"864cda6f.fffd88","type":"change","z":"f18a0e65.9258d","name":"Temp","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.ds18x20_0.temperature","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":200,"wires":[["f4a9c297.b1756"]]},{"id":"f4a9c297.b1756","type":"function","z":"f18a0e65.9258d","name":"FansControl","func":"var testTemp = 42;\nvar hysteresis = 2;\n\nif( msg.payload >= testTemp + hysteresis )\n{\n msg.payload=1;\n //node.warn( \"Setting 1: \" + msg.payload + \",\" + testTemp + \",\" + hysteresis);\n}\nelse if( msg.payload <= testTemp )\n{\n msg.payload=0;\n //node.warn( \"Setting 0: \" + msg.payload + \",\" + testTemp + \",\" + hysteresis);\n}\nelse\n msg = null;\n \nreturn msg;\n","outputs":1,"noerr":0,"x":570,"y":200,"wires":[["212e1ea8.755002","d6ad6268.b8f1"]]},{"id":"212e1ea8.755002","type":"mqtt out","z":"f18a0e65.9258d","name":"Grosse fan","topic":"chez_jjjjj/4d2f-GrosseFan/nr-fan/cmnd/relay0","qos":"2","retain":"false","broker":"bdef2ebb.bdb07","x":910,"y":200,"wires":[]},{"id":"77be3b44.fb5d34","type":"inject","z":"f18a0e65.9258d","name":"Startup","repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":120,"y":60,"wires":[["2f8856f3.01282a"]]},{"id":"2f8856f3.01282a","type":"function","z":"f18a0e65.9258d","name":"Init Globals","func":"global.set('Tlast', -99); \nglobal.set('Tsalon', 0);\nglobal.set('ChambreHeatTemp', 0);\nglobal.set('ChambreHeatOn', 0);\nglobal.set('jjjjjsHome', 1);\nglobal.set('jjjjjsHomePrev', 1);\nglobal.set('fagris', 1);\nglobal.set('fanoir', 1);\nglobal.set('jjjjjsHomeLast',new Date());\nglobal.set('MotionTimer', 60000);\nglobal.set('st-override', 0);\n\n","outputs":1,"noerr":0,"x":290,"y":60,"wires":[[]]},{"id":"c98f3723.a95dc8","type":"function","z":"f18a0e65.9258d","name":"Dump Globals","func":"node.warn( \"Tlast: \" + global.get('Tlast')); \nnode.warn( \"Tsalon: \" + global.get('Tsalon'));\nnode.warn( \"ChambreHeatTemp: \" + global.get('ChambreHeatTemp'));\nnode.warn( \"ChambreHeatOn: \" + global.get('ChambreHeatOn'));\nnode.warn( \"jjjjjParti: \" + global.get('jjjjjParti'));\nnode.warn( \"fagris: \" + global.get('fagris'));\nnode.warn( \"fanoir: \" + global.get('fanoir'));\nnode.warn( \"jjjjjsHomeLast: \" + global.get('jjjjjsHomeLast'));\nnode.warn( \"st-override: \" + global.get('st-override'));\n","outputs":1,"noerr":0,"x":640,"y":60,"wires":[[]]},{"id":"919f22ef.9ec0f","type":"inject","z":"f18a0e65.9258d","name":"Do it","repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":490,"y":60,"wires":[["c98f3723.a95dc8"]]},{"id":"c4fce33a.14b8d","type":"mqtt out","z":"f18a0e65.9258d","name":"Stairs","topic":"chez_jjjjj/2904-Stairs/nr-md/cmnd/relay0","qos":"2","retain":"false","broker":"bdef2ebb.bdb07","x":670,"y":420,"wires":[]},{"id":"548aabe4.84c5a4","type":"mqtt in","z":"f18a0e65.9258d","name":"MD Stairs","topic":"chez_jjjjj/238b-MDStairs/state","qos":"0","datatype":"auto","broker":"bdef2ebb.bdb07","x":80,"y":360,"wires":[["a1ab9ad9.723258"]]},{"id":"a3599b64.8fb2b8","type":"delay","z":"f18a0e65.9258d","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":400,"y":460,"wires":[["c4fce33a.14b8d","5f52a66e.ca6798"]]},{"id":"adcd9a8a.50d9f8","type":"mqtt in","z":"f18a0e65.9258d","name":"Kitchen","topic":"chez_jjjjj/1fca-Kitchen/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":70,"y":680,"wires":[["48eb9909.b81448"]]},{"id":"f10965.51002698","type":"mqtt out","z":"f18a0e65.9258d","name":"Dining","topic":"chez_jjjjj/1f16-Dining/nr-kitchen/cmnd/relay0","qos":"2","retain":"false","broker":"bdef2ebb.bdb07","x":490,"y":680,"wires":[]},{"id":"8d4a9d25.d208b","type":"random","z":"f18a0e65.9258d","name":"Random 1-6","low":"1","high":"6","inte":"true","property":"payload","x":610,"y":764,"wires":[["6c02ffc4.0657f","7ece5f3f.8dcc6","22490e3a.30d5c2","f39f3dec.809c4","cdda9437.af24d8","dd31e617.1fc828","ea84be10.fcd8c"]]},{"id":"6c02ffc4.0657f","type":"function","z":"f18a0e65.9258d","name":"1","func":"if( msg.payload == 1 )\n return [{ payload: 2 }] // 2 = toggle\n","outputs":1,"noerr":0,"x":770,"y":764,"wires":[["9b3890f0.eb02"]]},{"id":"7ece5f3f.8dcc6","type":"function","z":"f18a0e65.9258d","name":"2","func":"if( msg.payload == 2 )\n return [{ payload: 2 }] // 2 = toggle","outputs":1,"noerr":0,"x":770,"y":804,"wires":[["628196c8.b6cae8"]]},{"id":"9db5a31f.545f9","type":"inject","z":"f18a0e65.9258d","name":"Tic Toc 5 min","repeat":"300","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":764,"wires":[["fdc04c08.f4ad9"]]},{"id":"9b3890f0.eb02","type":"mqtt out","z":"f18a0e65.9258d","name":"Kitchen","topic":"chez_jjjjj/1fca-Kitchen/random/cmnd/relay0","qos":"","retain":"false","broker":"bdef2ebb.bdb07","x":900,"y":764,"wires":[]},{"id":"628196c8.b6cae8","type":"mqtt out","z":"f18a0e65.9258d","name":"Stairs","topic":"chez_jjjjj/2904-Stairs/random/cmnd/relay0","qos":"","retain":"false","broker":"bdef2ebb.bdb07","x":890,"y":804,"wires":[]},{"id":"fdc04c08.f4ad9","type":"function","z":"f18a0e65.9258d","name":"jjjjj Parti?","func":"var jjjjjparti = global.get('jjjjjParti') || 0;\nif( jjjjjparti === 1 )\n{\n return msg;\n}\n","outputs":1,"noerr":0,"x":310,"y":764,"wires":[["f39f3dec.809c4","8d4a9d25.d208b"]]},{"id":"43705bb9.202d64","type":"function","z":"f18a0e65.9258d","name":"fagris?","func":"var fagris = global.get('fagris');\nif( fagris )\n return [msg, null];\nelse\n return [null, msg];","outputs":2,"noerr":0,"x":450,"y":800,"wires":[["8d4a9d25.d208b"],[]]},{"id":"7d90c586.c38a2c","type":"mqtt out","z":"f18a0e65.9258d","name":"Chambre 2è","topic":"chez_jjjjj/t1/random/cmnd/esp-12ef-sp-ch2e/-POWER","qos":"","retain":"false","broker":"bdef2ebb.bdb07","x":910,"y":844,"wires":[]},{"id":"22490e3a.30d5c2","type":"function","z":"f18a0e65.9258d","name":"3","func":"if( msg.payload == 3 )\n return [{ payload: 2 }] // 2 = toggle\n","outputs":1,"noerr":0,"x":770,"y":844,"wires":[["7d90c586.c38a2c"]]},{"id":"eb26fa50.e15e48","type":"mqtt out","z":"f18a0e65.9258d","name":"SDB 1er","topic":"chez_jjjjj/21ff-bathroom/random/cmnd/relay0","qos":"","retain":"false","broker":"bdef2ebb.bdb07","x":900,"y":960,"wires":[]},{"id":"4cd2e6dc.3bcba8","type":"mqtt in","z":"f18a0e65.9258d","name":"Weather","topic":"chez_jjjjj/7da9-Weather/telemetry","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":80,"y":120,"wires":[["84e37353.d1cf8"]]},{"id":"84e37353.d1cf8","type":"json","z":"f18a0e65.9258d","name":"","property":"payload","action":"","pretty":false,"x":210,"y":120,"wires":[["fcc0899a.ade7d8","51d111b7.9df3a"]]},{"id":"fcc0899a.ade7d8","type":"function","z":"f18a0e65.9258d","name":"set fagris","func":"if( msg.payload.TSL2561.lux < 8000 )\n global.set('fagris', 1);\nelse\n global.set('fagris', 0);\nreturn msg","outputs":1,"noerr":0,"x":440,"y":100,"wires":[[]]},{"id":"256308a5.0fcc28","type":"change","z":"7e909bcf.1a2e94","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload[0].sndatalast","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1540,"y":140,"wires":[["9d9f1d09.ca551","84f9e413.8b1a08"]]},{"id":"9d9f1d09.ca551","type":"ui_text","z":"7e909bcf.1a2e94","d":true,"group":"c99c3e39.395b1","order":2,"width":2,"height":1,"name":"","label":"text","format":"{{msg.payload}}","layout":"row-spread","x":1770,"y":140,"wires":[]},{"id":"b81207e2.edd4d8","type":"debug","z":"7e909bcf.1a2e94","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","targetType":"full","x":1770,"y":220,"wires":[]},{"id":"84f9e413.8b1a08","type":"debug","z":"7e909bcf.1a2e94","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","targetType":"full","x":1770,"y":180,"wires":[]},{"id":"51d111b7.9df3a","type":"function","z":"f18a0e65.9258d","name":"set fanoir","func":"if( msg.payload.TSL2561.lux < 100 )\n global.set('fanoir', 1);\nelse\n global.set('fanoir', 0);\nreturn msg","outputs":1,"noerr":0,"x":440,"y":140,"wires":[[]]},{"id":"3524bda7.113702","type":"inject","z":"7e909bcf.1a2e94","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":1150,"y":140,"wires":[["756abf49.b5e4d"]]},{"id":"31e257e6.f21d78","type":"inject","z":"7e909bcf.1a2e94","name":"","repeat":"5","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1170,"y":200,"wires":[["756abf49.b5e4d"]]},{"id":"56765766.b7d028","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Escalier","topic":"chez_jjjj/51c3-Escalier/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":360,"wires":[["313ebd54.37d0b2"]]},{"id":"833bc1e4.2f5f2","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Cuisine","topic":"chez_jjjj/1c46-cuisine/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":920,"y":160,"wires":[]},{"id":"a9ce6958.4b9198","type":"switch","z":"7e909bcf.1a2e94","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":360,"wires":[["b223ede4.9637f","21788138.a4164e","bdb6425e.1d181","4f392da8.a007d4","9c69616b.bb24d","1cb8dd00.7305e3","c08760d7.c3a95"],["ab1b7412.99c3e8","833bc1e4.2f5f2","98037dfb.2311d","89e36a75.d6d328","8076e4e7.2f7d78","94919eb3.31849","4eae3527.37829c","3ba22112.2296ae","8f61d1e9.201e9","d2f80fd9.e7c71"]]},{"id":"ab1b7412.99c3e8","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Salle a Diner","topic":"chez_jjjj/18ab-SalleADiner/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":930,"y":200,"wires":[]},{"id":"98037dfb.2311d","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Balcon","topic":"chez_jjjj/5341-Balcon/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":910,"y":280,"wires":[]},{"id":"89e36a75.d6d328","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Entree","topic":"chez_jjjj/1c39-Entree/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":910,"y":320,"wires":[]},{"id":"8076e4e7.2f7d78","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Cour","topic":"chez_jjjj/17d2-Cour/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":910,"y":360,"wires":[]},{"id":"3e74405e.5551e","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Salon","topic":"chez_jjjj/1af5-salon/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":910,"y":400,"wires":[]},{"id":"94919eb3.31849","type":"delay","z":"7e909bcf.1a2e94","name":"Delai Brosse à dents.","pauseType":"delay","timeout":"7","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":680,"y":400,"wires":[["3e74405e.5551e"]]},{"id":"b223ede4.9637f","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Cuisine","topic":"chez_jjjj/1c46-cuisine/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":680,"y":60,"wires":[]},{"id":"21788138.a4164e","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Salle a Diner","topic":"chez_jjjj/18ab-SalleADiner/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":690,"y":100,"wires":[]},{"id":"bdb6425e.1d181","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Balcon","topic":"chez_jjjj/5341-Balcon/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":670,"y":180,"wires":[]},{"id":"4f392da8.a007d4","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Entree","topic":"chez_jjjj/1c39-Entree/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":670,"y":220,"wires":[]},{"id":"66fb9f29.82176","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Cour","topic":"chez_jjjj/17d2-Cour/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":670,"y":300,"wires":[]},{"id":"9c69616b.bb24d","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Salon","topic":"chez_jjjj/1af5-salon/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":670,"y":260,"wires":[]},{"id":"1485d5bc.e9711a","type":"inject","z":"7e909bcf.1a2e94","name":"Bed time !!","repeat":"","crontab":"00 23 *","once":false,"onceDelay":0.1,"topic":"","payload":"0","payloadType":"num","x":790,"y":540,"wires":[["431af800.dc3668"]]},{"id":"1cb8dd00.7305e3","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Evier","topic":"chez_jjjj/1835-Evier/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":670,"y":20,"wires":[]},{"id":"4eae3527.37829c","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Evier","topic":"chez_jjjj/1835-Evier/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":910,"y":120,"wires":[]},{"id":"bd5e49a7.40d358","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Evier","label":"Evier","tooltip":"","group":"c99c3e39.395b1","order":6,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/1835-Evier/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":470,"y":20,"wires":[["1cb8dd00.7305e3"]]},{"id":"c781dc48.08e2a","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Evier","topic":"chez_jjjj/1835-Evier/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":20,"wires":[["8d137d74.05b86"]]},{"id":"f69f4865.185cc8","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Cuisine","label":"Cuisine","tooltip":"","group":"c99c3e39.395b1","order":8,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/1c46-cuisine/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":480,"y":60,"wires":[["b223ede4.9637f"]]},{"id":"e0ae55b8.eea7d8","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Cuisine","topic":"chez_jjjj/1c46-cuisine/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":60,"wires":[["b47d7a49.c9c688"]]},{"id":"b07ae3fa.c96d4","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Salle-à-Diner","label":"Salle-à-diner","tooltip":"","group":"c99c3e39.395b1","order":10,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/18ab-SalleADiner/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":490,"y":100,"wires":[["21788138.a4164e"]]},{"id":"eabfba06.9a9528","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Salle-à-diner","topic":"chez_jjjj/18ab-SalleADiner/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":70,"y":100,"wires":[["e2bde1f7.c7c42"]]},{"id":"bf447e4b.0285c","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Balcon","label":"Balcon","tooltip":"","group":"c99c3e39.395b1","order":21,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/5341-Balcon/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":470,"y":180,"wires":[["bdb6425e.1d181"]]},{"id":"1ff5867b.21a19a","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Balcon","topic":"chez_jjjj/5341-Balcon/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":180,"wires":[["1154bd1c.c63533"]]},{"id":"82e7d0aa.62d8","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Entree","label":"Entree","tooltip":"","group":"c99c3e39.395b1","order":13,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/1c39-Entree/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":470,"y":220,"wires":[["4f392da8.a007d4"]]},{"id":"3348d075.1752e","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Entree","topic":"chez_jjjj/1c39-Entree/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":220,"wires":[["4c4d5046.e9cbf"]]},{"id":"3dc48571.adaaea","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Cour","label":"Cour","tooltip":"","group":"c99c3e39.395b1","order":15,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/17d2-Cour/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":470,"y":300,"wires":[["66fb9f29.82176"]]},{"id":"de8405be.020e28","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Cour","topic":"chez_jjjj/17d2-Cour/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":300,"wires":[["4df027aa.40e478"]]},{"id":"1eb0e55a.3399cb","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Salon","label":"Salon","tooltip":"","group":"c99c3e39.395b1","order":17,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/1af5-salon/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":470,"y":260,"wires":[["9c69616b.bb24d"]]},{"id":"447913e9.07e36c","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Salon","topic":"chez_jjjj/1af5-salon/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":260,"wires":[["d57a5110.f1ab5"]]},{"id":"990782d1.8c324","type":"ui_gauge","z":"7e909bcf.1a2e94","name":"Temperature Intérieure","group":"6975b3fa.59417c","order":1,"width":5,"height":4,"gtype":"gage","title":"Temp Int.","label":"Celcius","format":"{{value}}","min":"1","max":"60","colors":["#b31200","#32e600","#ca3838"],"seg1":"15","seg2":"24","className":"","x":680,"y":940,"wires":[]},{"id":"997d9d1f.7ef4e","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Temperature Intérieure","topic":"chez_jjjj/d1f3-CuisineDHT/telemetry","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":100,"y":1000,"wires":[["d451f980.9f1388"]]},{"id":"7edb6810.6640e8","type":"ui_gauge","z":"7e909bcf.1a2e94","name":"Humidité Intérieure","group":"6975b3fa.59417c","order":2,"width":5,"height":4,"gtype":"gage","title":"Humidité Int.","label":"%","format":"{{value}}","min":"6","max":"90","colors":["#b31200","#00e61b","#cb3a3a"],"seg1":"30","seg2":"55","className":"","x":670,"y":1040,"wires":[]},{"id":"e5c11731.30b838","type":"ui_button","z":"7e909bcf.1a2e94","name":"","group":"c99c3e39.395b1","order":30,"width":7,"height":2,"passthru":false,"label":"Dodo","tooltip":"","color":"","bgcolor":"","icon":"","payload":"0","payloadType":"num","topic":"chez_jjjj/t1/stat/esp-51c3-sw-escalier/POWER","x":770,"y":580,"wires":[["431af800.dc3668"]]},{"id":"431af800.dc3668","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Escalier","topic":"chez_jjjj/51c3-Escalier/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":920,"y":580,"wires":[]},{"id":"35918a67.ef8146","type":"ui_gauge","z":"7e909bcf.1a2e94","name":"Congelateur","group":"6975b3fa.59417c","order":5,"width":5,"height":4,"gtype":"gage","title":"Congelateur","label":"Celcius","format":"{{value}}","min":"-21","max":"10","colors":["#b31200","#04e600","#ca3838"],"seg1":"-20","seg2":"-5","className":"","x":630,"y":1840,"wires":[]},{"id":"c24d6cda.014d2","type":"mqtt in","z":"7e909bcf.1a2e94","name":"2Sensors","topic":"chez_jjjj/1d44-2sensors/telemetry","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":80,"y":1840,"wires":[["a1f1fd52.543ae"]]},{"id":"9fa56cd1.543df","type":"ui_chart","z":"7e909bcf.1a2e94","name":"Congelateur","group":"8e028269.a658d","order":1,"width":27,"height":5,"label":"Congelateur","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-22","ymax":"0","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":630,"y":1880,"wires":[[]]},{"id":"d9744909.5f5b58","type":"ui_gauge","z":"7e909bcf.1a2e94","name":"Frigo","group":"6975b3fa.59417c","order":6,"width":5,"height":4,"gtype":"gage","title":"Frigo","label":"units","format":"{{value}}","min":"-10","max":"9","colors":["#b31b00","#00e639","#ca3838"],"seg1":"1","seg2":"4","className":"","x":610,"y":1740,"wires":[]},{"id":"bcac729.812919","type":"ui_chart","z":"7e909bcf.1a2e94","name":"Frigo","group":"8e028269.a658d","order":2,"width":27,"height":5,"label":"Frigo","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"6","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":610,"y":1780,"wires":[[]]},{"id":"3ba22112.2296ae","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Balcon2","topic":"chez_jjjj/18d4-Balcon2/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":920,"y":240,"wires":[]},{"id":"7149e17b.585f7","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Bureau","topic":"chez_jjjj/7a9e-Bureau/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":460,"wires":[["28a1baa9.b59ab6"]]},{"id":"16be4ff4.73c44","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":1050,"y":740,"wires":[["370f5ca2.ba7444"]]},{"id":"370f5ca2.ba7444","type":"change","z":"7e909bcf.1a2e94","name":"drill relay/0","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay/0","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1210,"y":740,"wires":[[]]},{"id":"8f61d1e9.201e9","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Bureau","topic":"chez_jjjj/7a9e-Bureau/mqtt1/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":1080,"y":480,"wires":[]},{"id":"9d0e242e.7a2008","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Bureau","label":"Bureau","tooltip":"","group":"c99c3e39.395b1","order":25,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/7a9e-Bureau/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":480,"y":460,"wires":[["8c023784.c17578"]]},{"id":"c08760d7.c3a95","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Balcon2","topic":"chez_jjjj/18d4-Balcon2/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":680,"y":140,"wires":[]},{"id":"dfe3dcbe.1d3c8","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Balcon2","label":"Balcon2","tooltip":"","group":"c99c3e39.395b1","order":23,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/18d4-Balcon2/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":480,"y":140,"wires":[["c08760d7.c3a95"]]},{"id":"edb03be5.bb5fd8","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Balcon2","topic":"chez_jjjj/18d4-Balcon2/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":60,"y":140,"wires":[["7e02d652.06ca88"]]},{"id":"84fa1464.781cf8","type":"debug","z":"f18a0e65.9258d","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":890,"y":400,"wires":[]},{"id":"6ccb71e3.3b151","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Garage","topic":"chez_jjjj/e1/tele/Garage/Temperature/Temperature","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":50,"y":1060,"wires":[["b75e401f.a2692"]]},{"id":"b75e401f.a2692","type":"ui_chart","z":"7e909bcf.1a2e94","d":true,"name":"Garage","group":"8e028269.a658d","order":3,"width":27,"height":4,"label":"Garage","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"15","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":280,"y":1060,"wires":[[]]},{"id":"54fe6529.a8c8ac","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Bureau2","topic":"chez_jjjj/8a0d-Bureau2/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":60,"y":500,"wires":[["2df52a69.a64d76"]]},{"id":"d2f80fd9.e7c71","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Bureau2","topic":"chez_jjjj/8a0d-Bureau2/mqtt2/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":680,"y":500,"wires":[]},{"id":"4a94e599.db03cc","type":"ui_switch","z":"7e909bcf.1a2e94","name":"Bureau2","label":"Bureau2","tooltip":"","group":"c99c3e39.395b1","order":27,"width":7,"height":1,"passthru":false,"decouple":"true","topic":"chez_jjjj/8a0d-Bureau2/cmnd/relay0","style":"","onvalue":"1","onvalueType":"num","onicon":"","oncolor":"","offvalue":"0","offvalueType":"num","officon":"","offcolor":"","x":480,"y":500,"wires":[["d2f80fd9.e7c71"]]},{"id":"7d56e161.f1ed","type":"inject","z":"7e909bcf.1a2e94","name":"Bureau Open","repeat":"","crontab":"00 08 1,2,3,4,5","once":false,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":580,"y":660,"wires":[["d8ef62c8.2e519","f01c47b3.7388c8"]]},{"id":"d8ef62c8.2e519","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Bureau","topic":"chez_jjjj/7a9e-Bureau/mqtt3/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":780,"y":660,"wires":[]},{"id":"f01c47b3.7388c8","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Bureau2","topic":"chez_jjjj/8a0d-Bureau2/mqtt4/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":780,"y":700,"wires":[]},{"id":"a1ab9ad9.723258","type":"json","z":"f18a0e65.9258d","name":"","property":"payload","action":"","pretty":false,"x":210,"y":360,"wires":[["9ec3292b.b134a8"]]},{"id":"9ec3292b.b134a8","type":"change","z":"f18a0e65.9258d","name":"pinin0.state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.pinin0.state","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"payload.pinin1.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":350,"y":360,"wires":[["bbc5001f.02cd3","b722d62.4af9628"]]},{"id":"48eb9909.b81448","type":"json","z":"f18a0e65.9258d","name":"","property":"payload","action":"","pretty":false,"x":210,"y":680,"wires":[["c4dab0b4.564f1"]]},{"id":"c4dab0b4.564f1","type":"change","z":"f18a0e65.9258d","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":350,"y":680,"wires":[["f10965.51002698"]]},{"id":"a9c5f5f1.3d0678","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":20,"wires":[["bd5e49a7.40d358"]]},{"id":"8d137d74.05b86","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":190,"y":20,"wires":[["a9c5f5f1.3d0678"]]},{"id":"b47d7a49.c9c688","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":170,"y":60,"wires":[["ca17a5c9.58fa28"]]},{"id":"e2bde1f7.c7c42","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":210,"y":100,"wires":[["c69c3e20.2b427"]]},{"id":"7e02d652.06ca88","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":190,"y":140,"wires":[["b14a557b.d24758"]]},{"id":"1154bd1c.c63533","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":190,"y":180,"wires":[["d15f554d.40ac78"]]},{"id":"4c4d5046.e9cbf","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":170,"y":220,"wires":[["a0b35581.ac17b8"]]},{"id":"d57a5110.f1ab5","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":170,"y":260,"wires":[["5e88765f.6a1418"]]},{"id":"4df027aa.40e478","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":170,"y":300,"wires":[["a2cdccba.4a53"]]},{"id":"313ebd54.37d0b2","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":170,"y":360,"wires":[["ff979807.a52238"]]},{"id":"28a1baa9.b59ab6","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":190,"y":460,"wires":[["1a1f0e8f.70ca31"]]},{"id":"2df52a69.a64d76","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":190,"y":500,"wires":[["779ebf24.b5181"]]},{"id":"ca17a5c9.58fa28","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":60,"wires":[["f69f4865.185cc8"]]},{"id":"c69c3e20.2b427","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":100,"wires":[["b07ae3fa.c96d4"]]},{"id":"b14a557b.d24758","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":140,"wires":[["dfe3dcbe.1d3c8"]]},{"id":"d15f554d.40ac78","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":180,"wires":[["bf447e4b.0285c"]]},{"id":"a0b35581.ac17b8","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":220,"wires":[["82e7d0aa.62d8"]]},{"id":"5e88765f.6a1418","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":260,"wires":[["1eb0e55a.3399cb"]]},{"id":"a2cdccba.4a53","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":300,"wires":[["3dc48571.adaaea"]]},{"id":"ff979807.a52238","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":360,"wires":[["a9ce6958.4b9198"]]},{"id":"1a1f0e8f.70ca31","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":460,"wires":[["9d0e242e.7a2008"]]},{"id":"779ebf24.b5181","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":500,"wires":[["4a94e599.db03cc"]]},{"id":"5d525a8e.1bd664","type":"function","z":"f18a0e65.9258d","name":"if 1 make 1/0","func":"if( msg.payload == '1' )\n return [{ payload: '1' }, { payload: '0' }];\n\n","outputs":2,"noerr":0,"x":210,"y":420,"wires":[["84fa1464.781cf8","c4fce33a.14b8d"],["a3599b64.8fb2b8"]]},{"id":"712db004.a4a4c","type":"eztimer","z":"f18a0e65.9258d","name":"Brunante 1","autoname":"goldenHour","tag":"eztimer","suspended":false,"sendEventsOnSuspend":false,"lat":"47","lon":"-74","timerType":"2","startupMessage":false,"ontype":"1","ontimesun":"goldenHour","ontimetod":"17:00","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":"20","onrandomoffset":true,"onsuppressrepeats":false,"offtype":"2","offtimesun":"dusk","offtimetod":"","offduration":"00:01:00","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":90,"y":984,"wires":[["6c2b2404.e42d3c","5eee9ec9.ab448","4fca7770.6051d8","f2d3e0ed.8478f","910b38de.d369e8","3276f6f.dd1cb0a"]]},{"id":"7d298053.a7386","type":"inject","z":"7e909bcf.1a2e94","name":"On allume tout.","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":600,"y":760,"wires":[["d0f8f095.73f88"]]},{"id":"d0f8f095.73f88","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Escalier","topic":"chez_jjjj/51c3-Escalier/mqtt/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":760,"y":760,"wires":[]},{"id":"9b3fd0d0.2bc2f","type":"mqtt out","z":"f18a0e65.9258d","name":"Dining","topic":"chez_jjjjj/1f16-Dining/nr-soir/cmnd/relay0","qos":"2","retain":"false","broker":"bdef2ebb.bdb07","x":510,"y":1020,"wires":[]},{"id":"1f8a8c9a.df8be3","type":"mqtt out","z":"f18a0e65.9258d","name":"Kitchen","topic":"chez_jjjjj/1fca-Kitchen/nr-soir/cmnd/relay0","qos":"2","retain":"false","broker":"bdef2ebb.bdb07","x":520,"y":1060,"wires":[]},{"id":"fbb8717.0d76a9","type":"mqtt out","z":"f18a0e65.9258d","name":"SDB 1er","topic":"chez_jjjjj/21ff-bathroom/nr-soir/cmnd/relay0","qos":"2","retain":"false","broker":"bdef2ebb.bdb07","x":520,"y":1100,"wires":[]},{"id":"d62fd461.1e5498","type":"mqtt in","z":"7e909bcf.1a2e94","name":"Bureau","topic":"chez_jjjj/7a9e-Bureau/state","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":510,"y":840,"wires":[["5b496598.9e16cc"]]},{"id":"5b496598.9e16cc","type":"json","z":"7e909bcf.1a2e94","name":"","property":"payload","action":"","pretty":false,"x":650,"y":840,"wires":[["39a5fd6a.4c6e72"]]},{"id":"39a5fd6a.4c6e72","type":"change","z":"7e909bcf.1a2e94","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":790,"y":840,"wires":[["6dff1879.a6ea88"]]},{"id":"6dff1879.a6ea88","type":"mqtt out","z":"7e909bcf.1a2e94","name":"Bureau2","topic":"chez_jjjj/8a0d-Bureau2/mqtt5/cmnd/relay0","qos":"1","retain":"false","broker":"bdef2ebb.bdb07","x":940,"y":840,"wires":[]},{"id":"66181090.7f62c","type":"mqtt in","z":"f18a0e65.9258d","name":"Stairs","topic":"chez_jjjjj/2904-Stairs/cmnd/relay0","qos":"2","datatype":"auto","broker":"bdef2ebb.bdb07","x":70,"y":300,"wires":[["cb3718df.c82fa8"]]},{"id":"cb3718df.c82fa8","type":"json","z":"f18a0e65.9258d","name":"","property":"payload","action":"","pretty":false,"x":210,"y":300,"wires":[["8d1db2c7.0e362"]]},{"id":"8d1db2c7.0e362","type":"change","z":"f18a0e65.9258d","name":"state","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.relay0.state","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":301,"wires":[["d0ac6a4f.001c48"]]},{"id":"d0ac6a4f.001c48","type":"function","z":"f18a0e65.9258d","name":"set st-override",
hi. you receive my answers as email notifications, I did'nt explicitly pm you (just for clarification). You sent me the flows.json, which I don't necessarily need. I would like to see the package.json, so I can check, what other nodes you installed. As I think about it, could you also send me the console output of the node-red process? I would expect some kind of error showing up there.
I looked for log files and these are the ones I found.
Thanks Ollixx!
On Wed, Jan 5, 2022 at 9:47 AM ollixx @.***> wrote:
hi. you receive my answers as email notifications, I did'nt explicitly pm you (just for clarification). You sent me the flows.json, which I don't necessarily need. I would like to see the package.json, so I can check, what other nodes you installed. As I think about it, could you also send me the console output of the node-red process? I would expect some kind of error showing up there.
— Reply to this email directly, view it on GitHub https://github.com/ollixx/node-red-contrib-components/issues/54#issuecomment-1005749124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXE57IUHJF5YGRQZJIQSAUDUURKZFANCNFSM5LH4EW6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
-- Jean
thanks in advance
i have same problem , which with is conflicted my package.json
Hi xtwiny, I tried to install your almost 80 packages, but couldn't. There is a reference to "node-red-contrib-example-lower-case": "file:myNode", which of course I cannot install, as it contains local code. You use many packages, that are not really related to node-red nodes. So I suggest, you cleanup your project and try to use less nodes to do what you want to achieve. "npm install" failed on some of the larger modules in your package.json, but still I see my nodes: Since your project seems to be a big try-out of many different nodes, I stop analyzing too much here. I suggest you create a new project with only a few node sets beside node-red-contrib-components and check it out. It's impossible for me to find the reason, why one of the nodes failed to show up on your system.
I tried uninstalling and reinstalling. Any idea?
Thanks!