• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. BlackSoll
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 45
    • Best 1
    • Controversial 0
    • Groups 0

    BlackSoll

    @BlackSoll

    1
    Reputation
    1352
    Profile views
    45
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    BlackSoll Unfollow Follow

    Best posts made by BlackSoll

    • RE: Another home automation project

      @martin-kudláček said in Another home automation project:

      our din rail mounted relay - and connect it to DO or RO. Awkward, but it works.

      In most of my projects i use external relays to extend the life of embedded hardware relays, so it's not that awkward. I use mostly relays with coil voltage 230 V AC with UniPi 1.1 but now with the shared COM port and neuron power suply, i'll go with coil voltage 24 V DC.

      posted in Installations
      B
      BlackSoll

    Latest posts made by BlackSoll

    • RE: Humidity sensor for unipi that can work with evok or owfs ?

      @tomas_hora said in Humidity sensor for unipi that can work with evok or owfs ?:

      @tenallero You might have noticed the recent extensive work on Evok https://github.com/UniPiTechnology/evok/commits/master. The humidity sensors are also currently in development and should be included in the master branch next week if everything goes well.

      There is always a DIY solution, eg. OWFS.

      New sensors finaly arrived.......1-WIRE-T-O indoor/outdoor & 1-WIRE-T-R-EVAPCB-BOX.
      But where is humidity ?

      posted in Other Peripherals
      B
      BlackSoll
    • RE: Another home automation project

      @martin-kudláček said in Another home automation project:

      our din rail mounted relay - and connect it to DO or RO. Awkward, but it works.

      In most of my projects i use external relays to extend the life of embedded hardware relays, so it's not that awkward. I use mostly relays with coil voltage 230 V AC with UniPi 1.1 but now with the shared COM port and neuron power suply, i'll go with coil voltage 24 V DC.

      posted in Installations
      B
      BlackSoll
    • RE: Z-wave module

      @abornand
      Hi ! I use aeotec z-stick with unipi and pimatic. The pimatic plugin works with neuron too. No problems so far. I control around 11 devices. Althought pimatic is at beta stage, works now for my home automation over a year.

      posted in Other Peripherals
      B
      BlackSoll
    • RE: Another home automation project

      As far as evok exists i'm ok. I may go a litle off topic, but i'm gonna miss "nc" contact of UniPi relays....Neuron have only "com" and "no"

      posted in Installations
      B
      BlackSoll
    • RE: Another home automation project

      @martin-kudláček said in Another home automation project:

      writing on the SD

      Pimatic uses sqlite3 so read only mode will not work. I'm planing to use an 32GB INDUSTRIAL MICRO SDHC UHS-I CLASS 10. Writes are supposed to be spread out among the card, so the larger the card, the less chance of it writing over the same area multiple times.Just going from a 4GB to 8 GB card will cut the number of writes to the same area of the card in half.

      On second thought i may use one of the wd pidrives. It is pretty affordable.

      Usb ports of neuron are the rpi ports, right ? So i'll have no hard time to plug & install the aeotec z-stick.

      One more consern....After 2023 when unipi 1 support may stopped, will this means that EVOK will stop ? Pimatic without evok is useless for my neuron setup.

      posted in Installations
      B
      BlackSoll
    • Another home automation project

      I use unipi 1.1 for my house automation. My hardware setup is an old core to duo pc with linuxlite os on it and pimatic. Unipi with rpi 2 and evok setup.
      I used a pc cause with pimatic and a z-wave usb stick i control several devices like rip sencors, dimmer switches etc.
      Unipi's relay are used for heating, ventilation and some lights and inputs control several states of devices....1 wire is for temperature control of central boiler room, hot water, etc...

      Now i want to do the same to a friends house and i'm thinking of Neuron M103.
      You think it is possible to install Rasbian stretch lite, pimatic, z-wave usb stick and evok in neuron ?
      What about performance ? With my current setup speed is lightning fast but i use a pc for all the rules and for the z-wave network.

      Do you think neuron and rpi3 can make it ? Will i need something more for an aeotec z-stick or common install with open z-wave and pimatic plugin ?

      Thanks in advance for any thoughts

      posted in Installations
      B
      BlackSoll
    • RE: Documentaion

      Here you go !!

      Mervis step by step manual

      Tutorials in blog

      posted in Mervis
      B
      BlackSoll
    • RE: Create temperature webpage with node red

      Here is an example of the flow with Tomas flow as well.
      You must edit the nodes to match with your installation. My evok listens at port 8181 so you must edit that also edit make http responce node with your own ip installation and the nodes for temp sensors…...........

      Select all and import it to nodered ! After edit, visit http:// your_unipi_ip:1880/temp and see the temperature page. You must wait a few seconds until evok reads the sensors. Just refresh the page.

      [{"id":"348bbeef.fe7752","type":"websocket-listener","path":"/admin/ws/temp","wholemsg":"false"},{"id":"fca23e4f.a8ce2","type":"websocket-client","z":"","path":"ws://127.0.0.1:8181/ws","wholemsg":"false"},{"id":"7b46b282.7c3d4c","type":"websocket out","z":"4505aa70.04b544","name":"","server":"","client":"fca23e4f.a8ce2","x":621,"y":57,"wires":[]},{"id":"235e84c1.5908bc","type":"inject","z":"4505aa70.04b544","name":"R1 ON","topic":"","payload":"{\"dev\":\"relay\", \"circuit\":\"1\", \"value\":\"1\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":315,"y":72,"wires":[["7b46b282.7c3d4c"]]},{"id":"e7fe6581.4261f8","type":"inject","z":"4505aa70.04b544","name":"R1 OFF","topic":"","payload":"{\"dev\":\"relay\", \"circuit\":\"1\", \"value\":\"0\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":308,"y":116,"wires":[["7b46b282.7c3d4c"]]},{"id":"aa9371be.e0d55","type":"inject","z":"4505aa70.04b544","name":"AO set 5V a","topic":"","payload":"{\"dev\":\"ao\", \"circuit\":\"1\", \"value\":\"5\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":293,"y":27,"wires":[["7b46b282.7c3d4c"]]},{"id":"97e446ec.817df8","type":"websocket in","z":"4505aa70.04b544","name":"","server":"","client":"fca23e4f.a8ce2","x":105,"y":198,"wires":[["7218830.9bb6d7c","6b66ea3a.2589b4","12af52a9.85b71d","3f1016b9.ceee9a","d97ae6ba.727c78","c6ef55a5.4e3838"]]},{"id":"7218830.9bb6d7c","type":"debug","z":"4505aa70.04b544","name":"","active":true,"console":"false","complete":"payload","x":377,"y":288,"wires":[]},{"id":"6b66ea3a.2589b4","type":"function","z":"4505aa70.04b544","name":"IN 1-7 -> RELAY 1-7","func":"var status = JSON.parse(msg.payload);\nvar msg = {};\nif (status.dev == \"input\" && status.circuit<8) {\n\t//leave the relay 8 to the temp control node\n\tif (status.value == 0) {\n\t\tmsg.payload = {\"dev\":\"relay\", \"circuit\":\"\", \"value\":\"0\"};\n\t\tmsg.payload[\"circuit\"] = status.circuit;\n\t}\n\telse {\n\t\tmsg.payload = {\"dev\":\"relay\", \"circuit\":\"\", \"value\":\"1\"};\n\t\tmsg.payload[\"circuit\"] = status.circuit;\n\t}\n\treturn msg;\n}\nelse return;\n","outputs":1,"x":364,"y":178,"wires":[["7b46b282.7c3d4c"]]},{"id":"12af52a9.85b71d","type":"function","z":"4505aa70.04b544","name":"Temp >= 26 -> R8 On","func":"var status = JSON.parse(msg.payload);\nvar newMsg = {};\nif (status.dev == \"temp\" && status.address==\"28C70460070000F1\") {\n\tnewMsg.payload = {\"dev\":\"relay\", \"circuit\":\"8\"}\n\tif (status.value>=26) newMsg.payload[\"value\"]=1;\n\telse newMsg.payload[\"value\"]=0;\n\treturn newMsg;\n}\nelse return;","outputs":1,"noerr":0,"x":367.5,"y":222,"wires":[["7b46b282.7c3d4c"]]},{"id":"490890a6.d198a","type":"http in","z":"4505aa70.04b544","name":"allow request on localhost:1880/temp","url":"/temp","method":"get","x":526,"y":708,"wires":[["69116356.458b4c","5f32dd6.45a9124"]]},{"id":"69116356.458b4c","type":"template","z":"4505aa70.04b544","name":"make HTTP response","field":"payload","fieldType":"msg","syntax":"mustache","template":"<!DOCTYPE HTML>\n<html>\n    <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>Temp</title>\n\n    <!-- Bootstrap -->\n    <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css\">\n\n    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->\n    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js\"></script>\n      <script src=\"https://oss.maxcdn.com/respond/1.4.2/respond.min.js\"></script>\n    <![endif]-->\n    \n    </head>\n    <script type=\"text/javascript\">\n        var server = window.location.hostname;\n        var topics = {};\n        var wsUriC = \"ws://192.168.1.79:1880/admin/ws/temp\";\n        function wsConnectC() {\n            console.log(\"connect\",wsUriC);\n            var ws = new WebSocket(wsUriC);\n            ws.onmessage = function(msg) {\n               \n                var payloadObj = JSON.parse(msg.data);\n                console.log(payloadObj);\n\t\t\t\tvar output = \"\";\n\t\t\t\t\tfor (var property in payloadObj) {\n  \t\t\t\t\t\toutput += '<li class=\"list-group-item\"><strong>' +property + '</strong>' + ': ' + payloadObj[property]+'°C</li>';\n\t\t\t\t\t\t}\n                document.getElementById('messages').innerHTML = output;                                     \n              \n            }\n            ws.onopen = function() {\n                document.getElementById('status').innerHTML = \"<small>connected</small>\";\n                console.log(\"connected\");\n            }\n            ws.onclose = function() {\n                document.getElementById('status').innerHTML = \"not connected\";\n                setTimeout(wsConnectC,1000);\n            }\n        }\n    </script>\n    <body onload=\"wsConnectC();\" onunload=\"ws.disconnect;\">\n    <div class=\"container\">\n      <div class=\"panel panel-default\" margin: 15px;>\n  \t\t\t\t\t<div class=\"panel-heading\"><h3>Temperature Page</h3></div>\n       \t\t\t\t\t <div class=\"panel-body\" id=\"messages\">\n       \t\t\t\t\t <ul class=\"list-item\" id=\"messages\">\n       \t\t\t\t\t </ul>\n       \t\t\t\t\t \n       \t\t\t\t\t </div>\n        \t\t <div class=\"panel-footer\" id=\"status\"><small>disconnected</small></div>\n      </div>  \t\n     </div> \n    <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js\"></script>  \n    \n    </body>\n</html>","x":585,"y":792,"wires":[["66bd018b.be7e7"]]},{"id":"66bd018b.be7e7","type":"http response","z":"4505aa70.04b544","name":"","x":844,"y":792,"wires":[]},{"id":"672b0cd2.571414","type":"websocket out","z":"4505aa70.04b544","name":"","server":"348bbeef.fe7752","x":1167,"y":531,"wires":[]},{"id":"2435b548.02275a","type":"function","z":"4505aa70.04b544","name":"set topic Bedroom","func":"msg.topic=\"Bedroom\";\nreturn msg;","outputs":1,"x":588,"y":376,"wires":[["5a48d307.8e9f4c"]]},{"id":"1baeb6cd.95a5c9","type":"function","z":"4505aa70.04b544","name":"set topic Kitchen","func":"msg.topic=\"Kitchen\";\nreturn msg;","outputs":1,"x":588,"y":430,"wires":[["5a48d307.8e9f4c"]]},{"id":"e2ce9dd9.58d24","type":"debug","z":"4505aa70.04b544","name":"","active":true,"console":"false","complete":"false","x":1159,"y":475,"wires":[]},{"id":"5a48d307.8e9f4c","type":"function","z":"4505aa70.04b544","name":"Add together all payloads and send over as JSON","func":"context.temp = context.temp || new Object();\n\nif (msg.payload == \"\") {\n\tmsg2 = new Object();\n\tmsg2 = context.temp;\n\tmsg.payload=JSON.stringify(msg2);\n\t} else {\n\tcontext.temp[msg.topic] = msg.payload;        \n\tmsg2 = new Object();\n\tmsg2 = context.temp;\n\tmsg.payload=JSON.stringify(msg2);\n\t};\n\n\treturn msg;\n\n","outputs":1,"x":992,"y":420,"wires":[["e2ce9dd9.58d24","672b0cd2.571414"]]},{"id":"e00c33f0.a4ca6","type":"function","z":"4505aa70.04b544","name":"set topic Basement","func":"msg.topic=\"Basement\";\nreturn msg;","outputs":1,"x":589,"y":486,"wires":[["5a48d307.8e9f4c"]]},{"id":"5f32dd6.45a9124","type":"function","z":"4505aa70.04b544","name":"send empty payload to send last known temperatures","func":"msg.payload=\"\";\nreturn msg;","outputs":1,"x":515,"y":634,"wires":[["6f707012.a69b3"]]},{"id":"6f707012.a69b3","type":"delay","z":"4505aa70.04b544","name":"Delay so websocket is started before sending","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":512,"y":554,"wires":[["5a48d307.8e9f4c"]]},{"id":"3f1016b9.ceee9a","type":"function","z":"4505aa70.04b544","name":"map_sensors","func":"var status = JSON.parse(msg.payload);\nif (status.dev == \"temp\" && status.circuit==\"28CB515F07000019\") {\n    msg.topic=\"Bedroom\";\n    msg.payload=status.value.toString();\n\treturn msg;\n}","outputs":1,"noerr":0,"x":380.5,"y":376,"wires":[["2435b548.02275a"]]},{"id":"d97ae6ba.727c78","type":"function","z":"4505aa70.04b544","name":"map_sensors","func":"var status = JSON.parse(msg.payload);\nif (status.dev == \"temp\" && status.circuit==\"28A94860070000E9\") {\n    msg.topic=\"Kitchen\";\n    msg.payload=status.value.toString();\n\treturn msg;\n}","outputs":1,"noerr":0,"x":386,"y":430,"wires":[["1baeb6cd.95a5c9"]]},{"id":"c6ef55a5.4e3838","type":"function","z":"4505aa70.04b544","name":"map_sensors","func":"var status = JSON.parse(msg.payload);\nif (status.dev == \"temp\" && status.circuit==\"28CD2460070000C6\") {\n    msg.topic=\"Basement\";\n    msg.payload=status.value.toString();\n\treturn msg;\n}","outputs":1,"noerr":0,"x":389,"y":486,"wires":[["e00c33f0.a4ca6"]]}]
      
      posted in General Discussion
      B
      BlackSoll
    • RE: Mervis minibian jessie wifi support

      First i```
      mount -o remount,rw /

      Then i```
      apt-get install nano
      ```cause i like it.
      
      My /etc/network/interfaces looks like this :
      
      

      #! /bin/sh false
      auto lo
      iface lo inet loopback

      ifup/ifdown of eth0 is driven by netplug daemon.

      by checking ethernet carrier (net card must by plugged into switch/other$

      eth1 is prepared for Huawei 3g modem in cdc-ether mode

      wlan0 is prepared for Wifi (usb)card

      #############################################################
      #auto eth0 #not needed if allow-hotplug or netplug is acti$

      allow-hotplug eth1 wlan0 # autostart on plugging !!!! MUST BE ONLY ONCE $

      source /etc/network/if-eth0.conf

      iface eth0 inet6 auto

      iface eth1 inet dhcp

      iface wlan0 inet dhcp
      pre-up wpa_cli -i wlan0 terminate 2>/dev/null || true
      pre-up /sbin/wpa_supplicant -B -q -c/etc/wpa_supplicant.conf -iwlan0
      post-down wpa_cli -i wlan0 terminate 2>/dev/null || true
      #wireless configuration is in /etc/wpa_supplicant.conf

      allow-hotplug wlan0

      iface wlan0 inet manual
      wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
      iface default inet dhcp

      
      Then i```
      chown root /etc/wpa_supplicant/wpa_supplicant.conf
      
       /usr/bin/wpa_passphrase myssid mypass > /etc/wpa_supplicant/wpa_supplicant.conf
      

      When iiwlist wlan0 scani found my wifi network then i```
      mount -o remount,ro /

      posted in Mervis
      B
      BlackSoll
    • RE: Mervis minibian jessie wifi support

      I have tried all the following without any success :

      apt-get update
      apt-get install nano sudo
      apt-get install firmware-realtek
      apt-get install wpasupplicant

      Tried to proceed with usual wifi configuration, editing my /etc/network/interfaces but no luck at all.

      How can i add my wifi adapter to mervis minibian ?

      posted in Mervis
      B
      BlackSoll