This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"203a9aad.9e133e","type":"tab","label":"Fritzbox","disabled":false,"info":""},{"id":"ecf93999.3965c8","type":"inject","z":"203a9aad.9e133e","name":"Anrufweiterleitung einschalten","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":269,"y":173,"wires":[["a34a96a0.4e7208"]]},{"id":"2eef830c.6f84f4","type":"fritzbox-in","z":"203a9aad.9e133e","device":"4a125cf6.71cc64","name":"Fritz","service":"urn:dslforum-org:service:X_AVM-DE_OnTel:1","action":"SetDeflectionEnable","arguments":"{\"NewDeflectionId\":\"value\",\"NewEnable\":\"value\"}","x":813,"y":258,"wires":[[]]},{"id":"a34a96a0.4e7208","type":"function","z":"203a9aad.9e133e","name":"Anrufweiterleitung Ein","func":"var string = {\"NewDeflectionId\":\"0\",\"NewEnable\":\"1\"};\nmsg.payload = string;\nreturn msg;\n","outputs":1,"noerr":0,"x":560,"y":172,"wires":[["2eef830c.6f84f4"]]},{"id":"d107d06b.f56f68","type":"function","z":"203a9aad.9e133e","name":"Anrufweiterleitung Aus","func":"var string = {\"New |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"3850aecb.ae7fa2","type":"function","z":"2a04a5df.aa15d2","name":"Toogle boolean","func":"/* \nif we receive a true we toogle output\nand store the new state in a local context \nwith a unique name \n*/ \nvar fname = \"toggle1\";\n\nif(msg.payload === true){\n\nif(context.get(fname) === false){\n msg.payload = true; \n}else{\n msg.payload = false;\n}\ncontext.set(fname, msg.payload);\n}\nreturn msg;","outputs":1,"noerr":0,"x":420,"y":120,"wires":[["85e80158.2a284"]]},{"id":"85e80158.2a284","type":"combine-if","z":"2a04a5df.aa15d2","topic":"","name":"","timeout":0,"x":610,"y":120,"wires":[["ebde7127.bff24"],["e169a7ad.1e1898"]]},{"id":"5fd0d0c8.9a891","type":"inject","z":"2a04a5df.aa15d2","name":"","topic":"setup","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":180,"y":120,"wires":[["3850aecb.ae7fa2"]]},{"id":"ebde7127.bff24","type":"debug","z":"2a04a5df.aa15d2","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# | |
# Locale specific functions for playing back time, numbers and spelling words. | |
# Often, the functions in this file are the only ones that have to be | |
# reimplemented for a new language pack. | |
# | |
############################################################################### | |
# | |
# Spell the specified word using a phonetic alphabet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"d4edf1e8.f7b4","type":"tab","label":"APRS Bake","disabled":false,"info":""},{"id":"9980bb7a.0cc4e8","type":"mqtt in","z":"d4edf1e8.f7b4","name":"Joachim","topic":"/aprs/joachim/bake","qos":"2","datatype":"json","broker":"6f75b16.845ebd","x":166,"y":281,"wires":[["944c4462.a1aa38"]]},{"id":"944c4462.a1aa38","type":"function","z":"d4edf1e8.f7b4","name":"Bake","func":"var temp = msg.payload.sensordatavalues[2].value;\nvar hum = msg.payload.sensordatavalues[3].value;\nvar press = msg.payload.sensordatavalues[4].value;\n\n// Convert Celsius to Fahrenheit / APRS Protocol\nvar tempF = ((temp*1.8)+32); \nvar press2 = (press/100);\nvar hum2 = (hum*1);\n// Erase decimal points\nvar tempP = parseFloat(tempF.toFixed(0)); \nvar pressP = parseFloat(press2.toFixed(0));\nvar humP = parseFloat(hum2.toFixed(0));\n\nvar msg1 = { payload: \"user CALL pass XXXX\" };\nvar msg2 = { payload: \"CALL-1>APRS,TCPIP*:!4808.30N/01125.75E_000/000g000t0\"+tempP+\"r000p000P000h\"+humP+\"b0\"+pressP+\"0wRSW\" }; \nvar msg3 = { payloa |
OlderNewer