• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • L

      New Build Home

      Watching Ignoring Scheduled Pinned Locked Moved Installations, Ideas & Realisations
      7
      0 Votes
      7 Posts
      3k Views
      Martin KudláčekM
      Hello @lessmann, the limit of how many devices can be connected to one RS485 line comes from the RS485 transceiver (the chip on the RS485 output) and on our PLCs it is 32. But be aware, that this is just a theoretical limit and the real limit depends on the current situation. Second limit of the RS485 is the speed of the communication. Since RS485 is a half-duplex type of communication (master can speak only to one slave at a time), the more devices you have the lower speed of updates you will have. If you have PLC with more RS485 ports, you can split the extensions into groups. Best regards, Martin
    • P

      Install SSCP to SQL Bridge on Axon

      Watching Ignoring Scheduled Pinned Locked Moved Mervis
      7
      0 Votes
      7 Posts
      2k Views
      P
      Dear Unipi support team, Is there a way to make the SSCP to SQL Bridge more robust, for example, so that it is not necessary to restart it manually after every solution deployment or PLC restart? Many thanks in advance and kind regards.
    • S

      Digital input ghost detection

      Watching Ignoring Scheduled Pinned Locked Moved Unipi 1 - HW Q&A
      7
      0 Votes
      7 Posts
      3k Views
      S
      @Martin-Kudláček do you know a good way to eliminate these false positives? Maybe an extra circuit before the input of the Unipi 1.1?
    • L

      Install softare on Axon M205 to factory default

      Watching Ignoring Scheduled Pinned Locked Moved Axon series
      7
      0 Votes
      7 Posts
      3k Views
      C
      @lyngaas Hello, unfortunately, booting our OS images from an SD card on Axon is not supported. Best regards, Kryštof Černý
    • WesleyFrankenW

      Installation manual Node-RED (use at your own risk)

      Watching Ignoring Scheduled Pinned Locked Moved Node-RED node-red manual axon
      7
      0 Votes
      7 Posts
      2k Views
      Martin KudláčekM
      Hello @FabioIT, the Node-RED image is defacto a Raspberry Pi OS. You can proceed with any general tutorial for adding the desktop environment, which you can find on the offical Raspberry Pi OS webpage.
    • J

      SD Card problem

      Watching Ignoring Scheduled Pinned Locked Moved Neuron Series
      7
      0 Votes
      7 Posts
      3k Views
      A
      Hi everyone, In the current version of Mervis OS 2.4.2.4, writes to the card already occur at least, according to the set interval for storing retain variables. For a similar reason, the history is newly stored in RAM (data is lost after the power is disconnected or restarted), which does not matter in combination with the cloud-based Mervis DB. If you disable writes to the internal storage (SD card), there are two possibilities of what can happen (depending on how you disable the writes): Mervis RT always unlocks the storage when writing retain variables, writes and locks the storage again for writing (basically the same behavior as now) Storage will be permanently locked and retain variables will not be writable. Likewise, it will not be possible to upload a new assembly (program) from Mervis IDE. In general, I recommend purchasing an SLC card with a longer lifespan and resistance to random power outages, etc., for the operation of the controller. You can read more about this issue in this article. Best regards, Antonin, Unipi
    • John-paulJ

      Dimming funtion AO

      Watching Ignoring Scheduled Pinned Locked Moved Mervis
      7
      3
      0 Votes
      7 Posts
      2k Views
      John-paulJ
      Hello @Martin-Kudláček , I have been able to solve the 1-10v dimming problem. It was a bit of a puzzle, but in the end it went well. I have created an extra node to a div. I solved the EQ problem by adding a LT compare function so that when the counter reaches 0 it automatically becomes 1 again. When I now click the dimmer button on the hmi, the LED lamp gradually rises and stops when I release it. I press it back in, it goes down again, etc. The LED lamp driver uses about 2 milliamps so i can connect enough drivers for the room lighting. I am very happy with this solution and would like to thank you for your support. Many regards John-paul [image: main.png] [image: dimmer#5.png] [image: dimmer#4.png] [image: dimmer#3.png] [image: dimmer#2.png] [image: dimmer#1.png]
    • A

      node red istance to be interfaced to Mervis PLC

      Watching Ignoring Scheduled Pinned Locked Moved Node-RED
      7
      0 Votes
      7 Posts
      3k Views
      U
      Hallo Ich habe bei mir ein unipi 1.1 bekomme auch Information von mervis zurück ,jetzt meine Frage ,wieviel Modbus Knoten kann ich in node red einbringen. Ich habe 3 Stück, bei den die Verbindung unterbricht Was mache ich falsch Dankeschön für eure Antwort Udo
    • H

      Problem with DI and Mervis

      Watching Ignoring Scheduled Pinned Locked Moved Mervis
      7
      2
      0 Votes
      7 Posts
      2k Views
      A
      Hello @HVAC-Arthus First, I recommend downloading and installing the latest Mervis IDE and Mervis OS available here: https://kb.unipi.technology/en:files:software Then open the project in a new IDE and save to convert the project to the new version. Before converting to the new version, we recommend that you always create a project archive with a suitable name. If you use the RaspberryPi 4 computing module for Unipi 1.1 / Lite, this should also solve your problem, as support for these computing modules was added only in the last version. With my RaspberryPi 4 and Mervis v2.4.0 your project works.
    • P

      1-wire occasionally stops working

      Watching Ignoring Scheduled Pinned Locked Moved Other Peripherals
      7
      0 Votes
      7 Posts
      3k Views
      P
      @AVsetula I'm aware of this guide and about the OW_off_1 switch. The problem is, that it does not solve the problem in my case. As I wrote before I tried to set OW_off_1 to true and then back to false, but all the temperature sensors kept showing 0 ˚C. I haven't found any software way how to "restart" the 1W to working state. The only thing which works is restarting whole Neuron by cutting off the power. If you have any other ideas, I'll appreciate them.
    • J

      Bullseye and evok running?

      Watching Ignoring Scheduled Pinned Locked Moved Official API - Evok
      7
      0 Votes
      7 Posts
      3k Views
      N
      Is Evok 2.4.24 fully compatible with Bullseye? I have one RPI with headless Bullseye and on that one everything seems to work. I have another RPI with Bullseye and Lightdm on top and on that one relay state change with JSON POST does not work. Example: POST http://localhost:8080/json/relay/1 Content-Type: application/json { "value": "1" } Result: HTTP/1.1 200 OK Content-Length: 44 Access-Control-Allow-Methods: POST, GET, OPTIONS Server: TornadoServer/4.5.3 Date: Wed, 15 Feb 2023 09:48:09 GMT Access-Control-Allow-Origin: * Access-Control-Allow-Headers: x-requested-with Content-Type: application/json; charset=UTF-8 { "status": "success", "data": { "result": 0 } } The result is "0" and the relay is not switching. Any idea? Best regards, Noël Vaes
    • Bart DelaereB

      read 1W-TH-IB2 values by HTTP/HTTPS or modbus TCP-IP

      Watching Ignoring Scheduled Pinned Locked Moved Axon series
      7
      0 Votes
      7 Posts
      2k Views
      C
      Hello @Bart-Delaere, unfortunately there is no definitive answer. The 1-Wire bus is technically able to connect huge amount of devices, but reality depends on cable length, quality, noise from the environment etc, so this may be trial and error for users that do not install it daily. Unipi used to sell a hub/splitter, which we do not offer anymore. Sometimes, a surge can occur in the environment, which can take down the whole bus. Unipi units (except Unipi 1/Lite) have an option to restart the bus (the bus is not restarted during normal system reboot), you can look in the Modbus table of your unit if you wish to implement it.
    • B

      Create temperature webpage with node red

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      12k Views
      B
      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 ! [image: ;)] 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"]]}]