diff --git a/404.html b/404.html index 2f365db..5741620 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ RIKA2MQTT - + diff --git a/assets/js/3d31ac83.16a8fe16.js b/assets/js/3d31ac83.16a8fe16.js deleted file mode 100644 index 5feb6a6..0000000 --- a/assets/js/3d31ac83.16a8fe16.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[554],{1869:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>r,default:()=>l,frontMatter:()=>o,metadata:()=>s,toc:()=>d});var i=n(5893),a=n(1151);const o={},r="Control RIKA stove via MQTT",s={id:"examples/example-command-mqtt",title:"Control RIKA stove via MQTT",description:"You can send commands to your stove via MQTT. This opens a lot of possibilities for your IoT system, NodeRed, ...",source:"@site/docs/examples/example-command-mqtt.md",sourceDirName:"examples",slug:"/examples/example-command-mqtt",permalink:"/examples/example-command-mqtt",draft:!1,unlisted:!1,editUrl:"https://github.com/sebastienvermeille/rika2mqtt/tree/master/docs/docs/docs/examples/example-command-mqtt.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"MQTT Examples",permalink:"/category/mqtt-examples"},next:{title:"Receive RIKA notifications via MQTT",permalink:"/examples/example-notification-mqtt"}},m={},d=[{value:"Update target temperature via MQTT",id:"update-target-temperature-via-mqtt",level:2},{value:"Update convection fans status via MQTT",id:"update-convection-fans-status-via-mqtt",level:2},{value:"Update heating times via MQTT",id:"update-heating-times-via-mqtt",level:2}];function c(e){const t={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"control-rika-stove-via-mqtt",children:"Control RIKA stove via MQTT"}),"\n",(0,i.jsx)(t.p,{children:"You can send commands to your stove via MQTT. This opens a lot of possibilities for your IoT system, NodeRed, ..."}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["By default RIKA2MQTT will listen for commands sent in topic: ",(0,i.jsx)(t.code,{children:"cmnd/rika2mqtt"})," (or your custom topic defined in ",(0,i.jsx)(t.code,{children:"MQTT_COMMAND_TOPIC_NAME"}),")."]})}),"\n",(0,i.jsx)(t.p,{children:"Here are some example of commands that can be sent to your RIKA stove via MQTT using RIKA2MQTT."}),"\n",(0,i.jsx)(t.h2,{id:"update-target-temperature-via-mqtt",children:"Update target temperature via MQTT"}),"\n",(0,i.jsxs)(t.p,{children:["Publish an MQTT message to ",(0,i.jsx)(t.code,{children:"cmnd/rika2mqtt"})," with the following JSON payload:"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:'"stoveId": "your stove id",\n"targetTemperature": 20\n'})}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["To retrieve your stove id, simply go to rika-firenet and display your stove. Then you can retrieve the stove id from the url of the browser: ",(0,i.jsx)(t.a,{href:"https://rika-firenet.com/web/stove/%5Byour",children:"https://rika-firenet.com/web/stove/[your"})," stove id]"]})}),"\n",(0,i.jsx)(t.p,{children:"And voila! RIKA2MQTT will automatically do the necessary to forward this change to Rika-Firenet that will then forward it to your Rika stove."}),"\n",(0,i.jsx)(t.h2,{id:"update-convection-fans-status-via-mqtt",children:"Update convection fans status via MQTT"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-json",children:'"stoveId": "your stove id",\n"convectionFan1Active": true,\n"convectionFan2Active": false\n'})}),"\n",(0,i.jsx)(t.h2,{id:"update-heating-times-via-mqtt",children:"Update heating times via MQTT"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:'"stoveId": "your stove id",\n"heatingTimeMon1": "",\n"heatingTimeMon2": "",\n"heatingTimeTue1": "",\n"heatingTimeTue2": "",\n"heatingTimeWed1": "",\n"heatingTimeWed2": "",\n"heatingTimeThu1": "",\n"heatingTimeThu2": "",\n"heatingTimeFri1": "",\n"heatingTimeFri2": "",\n"heatingTimeSat1": "",\n"heatingTimeSat2": "",\n"heatingTimeSun1": "",\n"heatingTimeSun2": "",\n'})}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["replace ",(0,i.jsx)(t.code,{children:""})," with i.e: ",(0,i.jsx)(t.code,{children:"10302215"})," = 10h30 to 22h15"]})}),"\n",(0,i.jsx)(t.p,{children:"You can update only what interest you, you are not forced to provide all properties."})]})}function l(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>s,a:()=>r});var i=n(7294);const a={},o=i.createContext(a);function r(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3d31ac83.a5c5a23c.js b/assets/js/3d31ac83.a5c5a23c.js new file mode 100644 index 0000000..36a4a2d --- /dev/null +++ b/assets/js/3d31ac83.a5c5a23c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[554],{1869:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>r,default:()=>l,frontMatter:()=>o,metadata:()=>s,toc:()=>d});var i=n(5893),a=n(1151);const o={},r="Control RIKA stove via MQTT",s={id:"examples/example-command-mqtt",title:"Control RIKA stove via MQTT",description:"You can send commands to your stove via MQTT. This opens a lot of possibilities for your IoT system, NodeRed, ...",source:"@site/docs/examples/example-command-mqtt.md",sourceDirName:"examples",slug:"/examples/example-command-mqtt",permalink:"/examples/example-command-mqtt",draft:!1,unlisted:!1,editUrl:"https://github.com/sebastienvermeille/rika2mqtt/tree/master/docs/docs/docs/examples/example-command-mqtt.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"MQTT Examples",permalink:"/category/mqtt-examples"},next:{title:"Receive RIKA notifications via MQTT",permalink:"/examples/example-notification-mqtt"}},m={},d=[{value:"Update target temperature via MQTT",id:"update-target-temperature-via-mqtt",level:2},{value:"Update convection fans status via MQTT",id:"update-convection-fans-status-via-mqtt",level:2},{value:"Update heating times via MQTT",id:"update-heating-times-via-mqtt",level:2}];function c(e){const t={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"control-rika-stove-via-mqtt",children:"Control RIKA stove via MQTT"}),"\n",(0,i.jsx)(t.p,{children:"You can send commands to your stove via MQTT. This opens a lot of possibilities for your IoT system, NodeRed, ..."}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["By default RIKA2MQTT will listen for commands sent in topic: ",(0,i.jsx)(t.code,{children:"cmnd/rika2mqtt"})," (or your custom topic defined in ",(0,i.jsx)(t.code,{children:"MQTT_COMMAND_TOPIC_NAME"}),")."]})}),"\n",(0,i.jsx)(t.p,{children:"Here are some example of commands that can be sent to your RIKA stove via MQTT using RIKA2MQTT."}),"\n",(0,i.jsx)(t.h2,{id:"update-target-temperature-via-mqtt",children:"Update target temperature via MQTT"}),"\n",(0,i.jsxs)(t.p,{children:["Publish an MQTT message to ",(0,i.jsx)(t.code,{children:"cmnd/rika2mqtt"})," with the following JSON payload:"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:'{\n "stoveId": "your stove id",\n "targetTemperature": 20\n}\n'})}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["To retrieve your stove id, simply go to rika-firenet and display your stove. Then you can retrieve the stove id from the url of the browser: ",(0,i.jsx)(t.a,{href:"https://rika-firenet.com/web/stove/%5Byour",children:"https://rika-firenet.com/web/stove/[your"})," stove id]"]})}),"\n",(0,i.jsx)(t.p,{children:"And voila! RIKA2MQTT will automatically do the necessary to forward this change to Rika-Firenet that will then forward it to your Rika stove."}),"\n",(0,i.jsx)(t.h2,{id:"update-convection-fans-status-via-mqtt",children:"Update convection fans status via MQTT"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-json",children:'{\n "stoveId": "your stove id", \n "convectionFan1Active": true,\n "convectionFan2Active": false\n}\n'})}),"\n",(0,i.jsx)(t.h2,{id:"update-heating-times-via-mqtt",children:"Update heating times via MQTT"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:'{\n "stoveId": "your stove id",\n "heatingTimeMon1": "",\n "heatingTimeMon2": "",\n "heatingTimeTue1": "",\n "heatingTimeTue2": "",\n "heatingTimeWed1": "",\n "heatingTimeWed2": "",\n "heatingTimeThu1": "",\n "heatingTimeThu2": "",\n "heatingTimeFri1": "",\n "heatingTimeFri2": "",\n "heatingTimeSat1": "",\n "heatingTimeSat2": "",\n "heatingTimeSun1": "",\n "heatingTimeSun2": "",\n}\n'})}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["replace ",(0,i.jsx)(t.code,{children:""})," with i.e: ",(0,i.jsx)(t.code,{children:"10302215"})," = 10h30 to 22h15"]})}),"\n",(0,i.jsx)(t.p,{children:"You can update only what interest you, you are not forced to provide all properties."})]})}function l(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>s,a:()=>r});var i=n(7294);const a={},o=i.createContext(a);function r(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b044b699.95fe37ce.js b/assets/js/b044b699.8bebfd9e.js similarity index 77% rename from assets/js/b044b699.95fe37ce.js rename to assets/js/b044b699.8bebfd9e.js index cf48954..a2cee8d 100644 --- a/assets/js/b044b699.95fe37ce.js +++ b/assets/js/b044b699.8bebfd9e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[640],{9449:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>m,frontMatter:()=>r,metadata:()=>a,toc:()=>d});var i=n(5893),o=n(1151);const r={},s="Receive RIKA notifications via MQTT",a={id:"examples/example-notification-mqtt",title:"Receive RIKA notifications via MQTT",description:"RIKA2MQTT bridge publish errors/warnings displayed on your RIKA screen to MQTT.",source:"@site/docs/examples/example-notification-mqtt.md",sourceDirName:"examples",slug:"/examples/example-notification-mqtt",permalink:"/examples/example-notification-mqtt",draft:!1,unlisted:!1,editUrl:"https://github.com/sebastienvermeille/rika2mqtt/tree/master/docs/docs/docs/examples/example-notification-mqtt.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Control RIKA stove via MQTT",permalink:"/examples/example-command-mqtt"},next:{title:"Publish stove status to MQTT",permalink:"/examples/example-telemetry-mqtt"}},c={},d=[{value:"Known error codes",id:"known-error-codes",level:2}];function l(e){const t={admonition:"admonition",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"receive-rika-notifications-via-mqtt",children:"Receive RIKA notifications via MQTT"}),"\n",(0,i.jsx)(t.p,{children:"RIKA2MQTT bridge publish errors/warnings displayed on your RIKA screen to MQTT.\nThis allows you to react when your pellet container is empty by example."}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["By default the notifications are published to the topic: ",(0,i.jsx)(t.code,{children:"tele/rika2mqtt-notifications"})," (Or your custom topic defined in ",(0,i.jsx)(t.code,{children:"MQTT_NOTIFICATION_TOPIC_NAME"}),")."]})}),"\n",(0,i.jsx)(t.p,{children:"The payload is in JSON format :"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:'{\n "errorCode": "E0001.02",\n "stoveId": 42,\n "type": "ERROR"\n}\n'})}),"\n",(0,i.jsx)(t.h2,{id:"known-error-codes",children:"Known error codes"}),"\n",(0,i.jsxs)(t.table,{children:[(0,i.jsx)(t.thead,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.th,{children:"Code"}),(0,i.jsx)(t.th,{children:"Description"})]})}),(0,i.jsx)(t.tbody,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.td,{children:"E0001.02"}),(0,i.jsx)(t.td,{children:"Pellet container: empty"})]})})]})]})}function m(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>s});var i=n(7294);const o={},r=i.createContext(o);function s(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[640],{9449:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>m,frontMatter:()=>r,metadata:()=>c,toc:()=>d});var i=n(5893),o=n(1151);const r={},s="Receive RIKA notifications via MQTT",c={id:"examples/example-notification-mqtt",title:"Receive RIKA notifications via MQTT",description:"RIKA2MQTT bridge publish errors/warnings displayed on your RIKA screen to MQTT.",source:"@site/docs/examples/example-notification-mqtt.md",sourceDirName:"examples",slug:"/examples/example-notification-mqtt",permalink:"/examples/example-notification-mqtt",draft:!1,unlisted:!1,editUrl:"https://github.com/sebastienvermeille/rika2mqtt/tree/master/docs/docs/docs/examples/example-notification-mqtt.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Control RIKA stove via MQTT",permalink:"/examples/example-command-mqtt"},next:{title:"Publish stove status to MQTT",permalink:"/examples/example-telemetry-mqtt"}},a={},d=[{value:"Known error codes",id:"known-error-codes",level:2}];function l(e){const t={admonition:"admonition",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"receive-rika-notifications-via-mqtt",children:"Receive RIKA notifications via MQTT"}),"\n",(0,i.jsx)(t.p,{children:"RIKA2MQTT bridge publish errors/warnings displayed on your RIKA screen to MQTT.\nThis allows you to react when your pellet container is empty by example."}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["By default the notifications are published to the topic: ",(0,i.jsx)(t.code,{children:"tele/rika2mqtt-notifications"})," (Or your custom topic defined in ",(0,i.jsx)(t.code,{children:"MQTT_NOTIFICATION_TOPIC_NAME"}),")."]})}),"\n",(0,i.jsx)(t.p,{children:"The payload is in JSON format :"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:'{\n "errorCode": "E0001.02",\n "stoveId": 42,\n "type": "ERROR"\n}\n'})}),"\n",(0,i.jsx)(t.h2,{id:"known-error-codes",children:"Known error codes"}),"\n",(0,i.jsxs)(t.table,{children:[(0,i.jsx)(t.thead,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.th,{children:"Code"}),(0,i.jsx)(t.th,{children:"Description"})]})}),(0,i.jsxs)(t.tbody,{children:[(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.td,{children:"E0001.02"}),(0,i.jsx)(t.td,{children:"Pellet container: empty"})]}),(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.td,{children:"E0008.16"}),(0,i.jsx)(t.td,{children:"Ignition: Stove not ignited"})]})]})]})]})}function m(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>s});var i=n(7294);const o={},r=i.createContext(o);function s(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.f15fe523.js b/assets/js/runtime~main.00799bd7.js similarity index 83% rename from assets/js/runtime~main.f15fe523.js rename to assets/js/runtime~main.00799bd7.js index 206758f..26cd6d8 100644 --- a/assets/js/runtime~main.f15fe523.js +++ b/assets/js/runtime~main.00799bd7.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,r,a,o,n={},d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,f),r.loaded=!0,r.exports}f.m=n,f.c=d,e=[],f.O=(t,r,a,o)=>{if(!r){var n=1/0;for(b=0;b=o)&&Object.keys(f.O).every((e=>f.O[e](r[i])))?r.splice(i--,1):(d=!1,o0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[r,a,o]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);f.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var d=2&a&&e;"object"==typeof d&&!~t.indexOf(d);d=r(d))Object.getOwnPropertyNames(d).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,f.d(o,n),o},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((t,r)=>(f.f[r](e,t),t)),[])),f.u=e=>"assets/js/"+({41:"a85e4659",53:"935f2afb",66:"f23ab121",111:"68febed7",292:"4deec6f7",368:"a94703ab",372:"1db64337",436:"009f1e98",459:"530ea7a0",518:"a7bd4aaa",554:"3d31ac83",595:"c2b961db",602:"eff5a918",640:"b044b699",661:"5e95c892",678:"0bd88e56",817:"14eb3368",830:"0dc920d1",898:"c19f478c",918:"17896441",920:"1a4e3797"}[e]||e)+"."+{41:"d64a8dad",53:"59e284cc",66:"802e20ec",111:"370845a1",292:"719cb44e",368:"368dd396",372:"02faa7a8",426:"c2ade2f5",436:"1012313b",459:"70347e91",518:"6f2ae3bf",554:"16a8fe16",595:"636d0fd0",602:"eaa90752",640:"95fe37ce",661:"25231a5c",678:"1b9f9b4d",772:"2896fdab",817:"cc1be7fd",830:"d9669282",894:"fed3b882",898:"8bc7dc71",918:"a5b7e90b",920:"51477b8d",945:"9e5ba195"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="my-website:",f.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var d,i;if(void 0!==r)for(var c=document.getElementsByTagName("script"),b=0;b{d.onerror=d.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),i&&document.head.appendChild(d)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/",f.gca=function(e){return e={17896441:"918",a85e4659:"41","935f2afb":"53",f23ab121:"66","68febed7":"111","4deec6f7":"292",a94703ab:"368","1db64337":"372","009f1e98":"436","530ea7a0":"459",a7bd4aaa:"518","3d31ac83":"554",c2b961db:"595",eff5a918:"602",b044b699:"640","5e95c892":"661","0bd88e56":"678","14eb3368":"817","0dc920d1":"830",c19f478c:"898","1a4e3797":"920"}[e]||e,f.p+f.u(e)},(()=>{var e={303:0,532:0};f.f.j=(t,r)=>{var a=f.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=f.p+f.u(t),d=new Error;f.l(n,(r=>{if(f.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;d.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",d.name="ChunkLoadError",d.type=o,d.request=n,a[1](d)}}),"chunk-"+t,t)}},f.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],d=r[1],i=r[2],c=0;if(n.some((t=>0!==e[t]))){for(a in d)f.o(d,a)&&(f.m[a]=d[a]);if(i)var b=i(f)}for(t&&t(r);c{"use strict";var e,t,r,a,o,n={},d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,f),r.loaded=!0,r.exports}f.m=n,f.c=d,e=[],f.O=(t,r,a,o)=>{if(!r){var n=1/0;for(c=0;c=o)&&Object.keys(f.O).every((e=>f.O[e](r[i])))?r.splice(i--,1):(d=!1,o0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[r,a,o]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);f.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var d=2&a&&e;"object"==typeof d&&!~t.indexOf(d);d=r(d))Object.getOwnPropertyNames(d).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,f.d(o,n),o},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((t,r)=>(f.f[r](e,t),t)),[])),f.u=e=>"assets/js/"+({41:"a85e4659",53:"935f2afb",66:"f23ab121",111:"68febed7",292:"4deec6f7",368:"a94703ab",372:"1db64337",436:"009f1e98",459:"530ea7a0",518:"a7bd4aaa",554:"3d31ac83",595:"c2b961db",602:"eff5a918",640:"b044b699",661:"5e95c892",678:"0bd88e56",817:"14eb3368",830:"0dc920d1",898:"c19f478c",918:"17896441",920:"1a4e3797"}[e]||e)+"."+{41:"d64a8dad",53:"59e284cc",66:"802e20ec",111:"370845a1",292:"719cb44e",368:"368dd396",372:"02faa7a8",426:"c2ade2f5",436:"1012313b",459:"70347e91",518:"6f2ae3bf",554:"a5c5a23c",595:"636d0fd0",602:"eaa90752",640:"8bebfd9e",661:"25231a5c",678:"1b9f9b4d",772:"2896fdab",817:"cc1be7fd",830:"d9669282",894:"fed3b882",898:"8bc7dc71",918:"a5b7e90b",920:"51477b8d",945:"9e5ba195"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="my-website:",f.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var d,i;if(void 0!==r)for(var b=document.getElementsByTagName("script"),c=0;c{d.onerror=d.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),i&&document.head.appendChild(d)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/",f.gca=function(e){return e={17896441:"918",a85e4659:"41","935f2afb":"53",f23ab121:"66","68febed7":"111","4deec6f7":"292",a94703ab:"368","1db64337":"372","009f1e98":"436","530ea7a0":"459",a7bd4aaa:"518","3d31ac83":"554",c2b961db:"595",eff5a918:"602",b044b699:"640","5e95c892":"661","0bd88e56":"678","14eb3368":"817","0dc920d1":"830",c19f478c:"898","1a4e3797":"920"}[e]||e,f.p+f.u(e)},(()=>{var e={303:0,532:0};f.f.j=(t,r)=>{var a=f.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=f.p+f.u(t),d=new Error;f.l(n,(r=>{if(f.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;d.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",d.name="ChunkLoadError",d.type=o,d.request=n,a[1](d)}}),"chunk-"+t,t)}},f.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],d=r[1],i=r[2],b=0;if(n.some((t=>0!==e[t]))){for(a in d)f.o(d,a)&&(f.m[a]=d[a]);if(i)var c=i(f)}for(t&&t(r);b Getting Started | RIKA2MQTT - + diff --git a/category/misc.html b/category/misc.html index 75ddead..0b8e4a5 100644 --- a/category/misc.html +++ b/category/misc.html @@ -4,7 +4,7 @@ Misc. | RIKA2MQTT - + diff --git a/category/mqtt-examples.html b/category/mqtt-examples.html index de6db1f..462d1f1 100644 --- a/category/mqtt-examples.html +++ b/category/mqtt-examples.html @@ -4,7 +4,7 @@ MQTT Examples | RIKA2MQTT - + diff --git a/examples/example-command-mqtt.html b/examples/example-command-mqtt.html index ab7915f..9132051 100644 --- a/examples/example-command-mqtt.html +++ b/examples/example-command-mqtt.html @@ -4,7 +4,7 @@ Control RIKA stove via MQTT | RIKA2MQTT - + @@ -14,13 +14,13 @@

Here are some example of commands that can be sent to your RIKA stove via MQTT using RIKA2MQTT.

Update target temperature via MQTT

Publish an MQTT message to cmnd/rika2mqtt with the following JSON payload:

-
"stoveId": "your stove id",
"targetTemperature": 20
+
{
"stoveId": "your stove id",
"targetTemperature": 20
}
info

To retrieve your stove id, simply go to rika-firenet and display your stove. Then you can retrieve the stove id from the url of the browser: https://rika-firenet.com/web/stove/[your stove id]

And voila! RIKA2MQTT will automatically do the necessary to forward this change to Rika-Firenet that will then forward it to your Rika stove.

Update convection fans status via MQTT

-
"stoveId": "your stove id",
"convectionFan1Active": true,
"convectionFan2Active": false
+
{
"stoveId": "your stove id",
"convectionFan1Active": true,
"convectionFan2Active": false
}

Update heating times via MQTT

-
"stoveId": "your stove id",
"heatingTimeMon1": "<timerange>",
"heatingTimeMon2": "<timerange>",
"heatingTimeTue1": "<timerange>",
"heatingTimeTue2": "<timerange>",
"heatingTimeWed1": "<timerange>",
"heatingTimeWed2": "<timerange>",
"heatingTimeThu1": "<timerange>",
"heatingTimeThu2": "<timerange>",
"heatingTimeFri1": "<timerange>",
"heatingTimeFri2": "<timerange>",
"heatingTimeSat1": "<timerange>",
"heatingTimeSat2": "<timerange>",
"heatingTimeSun1": "<timerange>",
"heatingTimeSun2": "<timerange>",
+
{
"stoveId": "your stove id",
"heatingTimeMon1": "<timerange>",
"heatingTimeMon2": "<timerange>",
"heatingTimeTue1": "<timerange>",
"heatingTimeTue2": "<timerange>",
"heatingTimeWed1": "<timerange>",
"heatingTimeWed2": "<timerange>",
"heatingTimeThu1": "<timerange>",
"heatingTimeThu2": "<timerange>",
"heatingTimeFri1": "<timerange>",
"heatingTimeFri2": "<timerange>",
"heatingTimeSat1": "<timerange>",
"heatingTimeSat2": "<timerange>",
"heatingTimeSun1": "<timerange>",
"heatingTimeSun2": "<timerange>",
}
info

replace <timerange> with i.e: 10302215 = 10h30 to 22h15

You can update only what interest you, you are not forced to provide all properties.

diff --git a/examples/example-notification-mqtt.html b/examples/example-notification-mqtt.html index 4cd7291..aa461b0 100644 --- a/examples/example-notification-mqtt.html +++ b/examples/example-notification-mqtt.html @@ -4,7 +4,7 @@ Receive RIKA notifications via MQTT | RIKA2MQTT - + @@ -15,6 +15,6 @@

The payload is in JSON format :

{
"errorCode": "E0001.02",
"stoveId": 42,
"type": "ERROR"
}

Known error codes

-
CodeDescription
E0001.02Pellet container: empty
+
CodeDescription
E0001.02Pellet container: empty
E0008.16Ignition: Stove not ignited
\ No newline at end of file diff --git a/examples/example-telemetry-mqtt.html b/examples/example-telemetry-mqtt.html index 948aba5..523ba51 100644 --- a/examples/example-telemetry-mqtt.html +++ b/examples/example-telemetry-mqtt.html @@ -4,7 +4,7 @@ Publish stove status to MQTT | RIKA2MQTT - + diff --git a/getting-started/configuration.html b/getting-started/configuration.html index ecbe672..cb7f19e 100644 --- a/getting-started/configuration.html +++ b/getting-started/configuration.html @@ -4,7 +4,7 @@ Configuration | RIKA2MQTT - + diff --git a/getting-started/setup.html b/getting-started/setup.html index 805b070..7c05c79 100644 --- a/getting-started/setup.html +++ b/getting-started/setup.html @@ -4,7 +4,7 @@ Setup | RIKA2MQTT - + diff --git a/getting-started/write-a-plugin.html b/getting-started/write-a-plugin.html index 944b438..d19e533 100644 --- a/getting-started/write-a-plugin.html +++ b/getting-started/write-a-plugin.html @@ -4,7 +4,7 @@ Write a plugin for RIKA2MQTT | RIKA2MQTT - + diff --git a/index.html b/index.html index 4a49171..e8198ce 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Overview | RIKA2MQTT - + diff --git a/misc/contributing.html b/misc/contributing.html index f6de374..4e38984 100644 --- a/misc/contributing.html +++ b/misc/contributing.html @@ -4,7 +4,7 @@ Contributing | RIKA2MQTT - + diff --git a/misc/stack.html b/misc/stack.html index 75f6521..117e15e 100644 --- a/misc/stack.html +++ b/misc/stack.html @@ -4,7 +4,7 @@ Stack | RIKA2MQTT - + diff --git a/search.html b/search.html index 0509854..feb128f 100644 --- a/search.html +++ b/search.html @@ -4,7 +4,7 @@ Search the documentation | RIKA2MQTT - +