• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. pavel.cernocky
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 14
    • Best 1
    • Controversial 0
    • Groups 0

    pavel.cernocky

    @pavel.cernocky

    1
    Reputation
    604
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    pavel.cernocky Unfollow Follow

    Best posts made by pavel.cernocky

    • RE: 1-wire bus topology

      OK, thanks for the answer, now it makes more sense :-)
      The link you sent explains a lot. Maybe you could add it to your wiki.
      So the key point is, that your hub is replacing star topology with linear topology, which should be better for 1-wire network.

      posted in UniPi 1 - HW Q&A
      P
      pavel.cernocky

    Latest posts made by pavel.cernocky

    • RE: 1-wire occasionally stops working

      So the 1 wire stopped working again. I tried running the mbpoll command from Stefan, but it's not working.

      Not sure whether the $ on the end of the line is some typo, it seems not valid, mbpoll complains about.

      As I understand it, the command tries to set modbus coil 1001, which is named 'Enable/Disable 1Wire Bus' in Neuron documentation.
      It seems the Mervis variable OW_off_1 is mapped to the same modbus coil, so turning it on/off should do the same thing. (UPDATE: confirmed by updating the variable in Mervis and watching by mbpoll)

      Any other ideas?

      posted in Other Peripherals
      P
      pavel.cernocky
    • RE: 1-wire occasionally stops working

      OK, seems promising. I'll try it on next failure and will reply back.
      Thanks a lot!

      posted in Other Peripherals
      P
      pavel.cernocky
    • 1-wire occasionally stops working

      I have several temperature sensors connected via 1-wire to Neuron and occasionally all of them stops working. Sometimes they work for one day, sometimes for several months.

      In Mervis in variables in debug mode I see Communication error True and the temperature is zero.

      On the status screen I see:
      Sent packets 2746181
      Received packets 2441053
      Wrong packets 4
      Packet error ration 0.0%
      Don't know why is the difference between sent/received packets that big and how it corresponds with wrong packets and error ratio.
      (Wanted to paste image here, but it doesn't work)

      I tried restarting Raspberry, but not sure whether it could help. Is the 1-wire bus connected directly to PLC or is it connected through Raspberry and then to PLC?

      I also tried setting OW_off_1 to true and then back to false (as found elsewhere on the forum), but it didn't help. Is this switching to true and false the right approach?

      The only thing which helps is powering off and on the whole Neuron and that's really not what I can use in practice.

      I have shielded cables and serial topology, but it's possible there are some communication errors anyway. I think that the controller should be able to recover from that errors and not stuck forever.

      I have found several posts in forum complaining about similar behavior, so it seems it's quite common problem.

      Could you please guide me to some solution? Or is it necessary to make a fix on Unipi side?

      posted in Other Peripherals
      P
      pavel.cernocky
    • Persist variable through restart

      Hi,
      is there way to persist some variables through neuron restarts (power outages)?
      There is a property "Write on change" on each variable, but I haven't found anything in doc and I'm not sure whether it could be useful.
      Thanks.

      posted in Mervis
      P
      pavel.cernocky
    • RE: Upload to Mervis DB not working

      @tomas_hora OK, I see, that makes sense.
      Thanks a lot for your support.

      posted in Mervis
      P
      pavel.cernocky
    • RE: Upload to Mervis DB not working

      @tomas_hora OK, I got it. I was only deploying solution, but didn't uploaded configuration. It's a bit misleading to have 2 "upload" options on two different places. What each of these actions exactly does?

      Now I can see my data on https://db.unipi.technology/viewer, but it's strange, that there are missing points from one or other thermometer, only rarely there are both values at one time.

      What can cause this behaviour?

      0_1496088378826_upload-f0279656-6d9c-4651-9bb7-c2bb2179f49d

      posted in Mervis
      P
      pavel.cernocky
    • RE: Upload to Mervis DB not working

      @tomas_hora Runtime identifier is also set, should it be set to something specific or should it match something?
      What about Trigger variable name in history properties, should it be filled? I haven't found any doc about this.
      I'll check the system status as soon as I'll reach the PLC.

      posted in Mervis
      P
      pavel.cernocky
    • Upload to Mervis DB not working

      I've set up History like this:
      0_1495609968289_upload-0d5e65d7-1d48-4bb9-9612-5c135a559c39

      And I have these variables in History:
      0_1495610581442_upload-e14182a9-8fed-46ef-83d7-107d6c9e3f3a

      MervisDB parameters:
      0_1495610208700_upload-850f9670-51b8-4d7d-950e-d95e0360de67

      If I debug the PLC I can see how the variables are stored in history. (Don't know why every 3 seconds, given that save period is one minute).

      But I can't see anything on https://db.unipi.technology/viewer.
      All I get is this message in bottom left:
      0_1495610301475_upload-1d8cf1eb-28f5-4d62-9a9a-4a6242e23b9b

      If I enter wrong credentials, then I get different message, so credentials should be ok.

      What I'm doing wrong?
      Also, is there any way to debug it on Neuron side? Eg. to see whether it is sending some data at all? I've tried "Download system log" in Mervis, but there is no mention about success or failure.

      Thank you.

      posted in Mervis
      P
      pavel.cernocky
    • RE: 1-wire extension module

      @tomas_hora OK, thanks for hints.

      posted in UniPi Extension Modules (Axon & Neuron)
      P
      pavel.cernocky
    • RE: 1-wire extension module

      What do you mean by "similar solution"?
      If it's not priority, what's preferred way to connect multiple thermometers to Neuron?
      Thank you.

      posted in UniPi Extension Modules (Axon & Neuron)
      P
      pavel.cernocky