• Section to discuss Evok, posting issues on GitHub is preferred.

    268 Topics
    1k Posts
    S
    @cleve Hello Cleve Thanks for reply. sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall evok-unipi-data Did what it was supposed to do. Thank a lot for your help.
  • A section to discuss Mervis issues and features

    431 Topics
    2k Posts
    L
    Na našich dvou neuronech jsem opravil tuto chybu. Asi se o ní už ví, ale pro jistotu posílám sem. #!/bin/bash # # get installed version of ca-certificate package # write the version into virtual registers 4200-4201 # # if used with --update, try update/upgrade package CA_REG1=4300 CA_REG2=4301 VREG_DIR=/run/unipi-plc/virtual-regs if [[ "$TRIGGER_UNIT" =~ ".timer" ]]; then apt-get update -y -qq || true apt-get install -y -q ca-certificates fi CA_VERSION=$(dpkg-query --show --showformat '${Version}' ca-certificates 2>/dev/null) # OPRAVA: Odřízne vše od prvního znaku, který není číslice (např. ~deb12u2) CA_VERSION="${CA_VERSION%%[^0-9]*}" if [ -z "$CA_VERSION" ]; then rm -f "$VREG_DIR/$CA_REG1" rm -f "$VREG_DIR/$CA_REG2" # Zde byla dříve chyba s redundantním /virtual-regs/ else mkdir -p "$VREG_DIR" if cd "$VREG_DIR"; then echo "$((CA_VERSION/10000))" > "$VREG_DIR/$CA_REG1" echo "$((CA_VERSION%10000))" > "$VREG_DIR/$CA_REG2" fi fi
  • A section to discuss CODESYS

    40 Topics
    153 Posts
    U
    @Martin-Kudláček Hi After a long time of trying and many tutorials, I made it to switch my relays on my Unipi 1.1, to read temperatures and everything with ModbusTCP and Nodered. When I see it now, it's very easy, thank you for the great board and the software.
  • 0 Topics
    0 Posts
    No new posts.
  • 6 Topics
    18 Posts
    T
    Hi my project is fully functional thanks to you all
  • 8 Topics
    34 Posts
    S
    Hello Thomas Exemple with L503, xS51 and xG18. I also have some DS18B20 on the 1Wire Bus. Install Steps: Check if everything is configured and works correct in evok Check output of <IP_of_Neuron>/rest/all in your Browser Install FHEM from the repository (https://fhem.de/#Installation) Connect FHEM with your Neuron by typing: define <Name> Neuron <IP>:80 set attributes like in the picture (see on the bottom) below [image: 33af1b3e-7f12-4e72-9537-d3295fc93b6e-image.png] After that all inputs and outputs get recogniced automatically. You will get a room named NeuronPin with all devices. Example (with some changed names): [image: b4430f01-8ff0-46ad-bb4c-e75254958745-image.png] Example of a analog input with a PT1000 Sensor for Temp. mesurment: [image: 46c55b40-b0fc-4e6c-bfc9-23234f3aea3d-image.png] Example of a analog input with a Honywell PX3 pressure sensor: [image: d38edfa9-8b54-40af-a144-2569bbdb9b9b-image.png] I am developing a control system with FHEM for my distillery with a heat recoupling for the building heating of the residential house. When I'm finished, I'll be glad to present the project to you.
  • 2 Topics
    6 Posts
    K
    May-24 8:31:20 AM Error Compiling script /usr/local/HomeSeer/scripts/unipi.vb: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
  • 6 Topics
    19 Posts
    K
    Hi, just for reference and to help future questions: I am running OpenHAB on a dedicated RasPi. It is a Java application which I do not want to run on a Neuron. Keep it simple and stupid. In C code it was not too complicated to get data from OpenHAB though curl calls. See code snipplet: /* Function gets calledd with an item name */ /* The url is defined here globally: */ /* url="http://openhab.domain.com:8080/rest/items/" */ long get_2file(char *url, char *filename ) { CURL *curl_handle; FILE *FI; int r,code; code = 0; curl_handle = curl_easy_init(); /* set URL to get here */ curl_easy_setopt(curl_handle, CURLOPT_URL, url); /* disable progress meter, set to 0L to enable and disable debug output */ curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); /* use default write function */ curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, NULL); /* open the file */ FI = fopen(filename, "w"); if(FI) { /* write the page body to this file handle */ curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, FI); /* get it! */ r = curl_easy_perform(curl_handle); if (r != 0) { code=-1; } else { /* Data is now in the file */ } /* close the header file */ r = fclose(FI); } else { code=-1; } /* cleanup curl stuff */ curl_easy_cleanup(curl_handle); return code; }
  • 2 Topics
    3 Posts
    T
    Hi @RobRemote, Unfortunately PiDome is in a bit of a state of flux right now (without a stable version in fact), which makes it difficult to recommend a specific solution. If you are still struggling with this issue you may be able to cobble something together with EVOK and WS-to-MQTT plugin posted on the forum. Apologies for taking so long to reply, Kind Regards, Tomas
  • 1 Topics
    1 Posts
    M
    Hello, we have uploadet an non Commercial version of the driver for windows 10 IOT https://www.nuget.org/packages/adcoso.iot.devicedrivers.neuron.driver/ kind regards Mirco