• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. zoomx
    3. Posts
    Z
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Groups 0

    Posts

    Recent Best Controversial
    • Exporting and downloading data.

      Following this thread
      Re: How to use CSV export feature?
      once I obtain the export zip it is possible to download it from the web interface?

      posted in General Discussion
      Z
      zoomx
    • RE: RFLink message not decoded due to NumberFormatException: Infinite or NaN

      I opened an issue in github also.

      RFlink protocol is here

      http://www.rflink.nl/blog2/protref

      The error message is referred to the message show above, this one
      20;4e;Alecto V1;ID=0005;WINDIR=0012;WINGS=001c;BAT=OK;\r

      20 mean a messagr from RFlink
      4e is the message number
      ID is the sensor ID
      WINDIR is the wind direction
      WINGS is the wind speed gust

      Al messages are in ASCIII, there is not any NaN or strange values like the DHT ones.

      It happens with all WINDIR messages, no one is decoded.

      Data are captured and decoded from a meteo station sensors at 433MHz

      But you give me a good suggestion, maybe there is a character in message not printed in the error, so I will check on a PC in HEX also.

      Edit: Check done, all ascii chars plus CR+LF at the end

      I don't understand why this happens on this message and not with others.
      I watched on my controllers code and I don't see any bug.

      posted in Troubleshooting
      Z
      zoomx
    • RFLink message not decoded due to NumberFormatException: Infinite or NaN

      Hello,
      I have a MyController installation on a RaspberryPi
      Version 1.5.0
      Database schema revision
      1.04.06 - 2018 Dec 04
      Database type
      H2 database embedded

      Java virtual machine specification

      VM vendor
      Oracle Corporation
      VM name
      Java HotSpot(TM) Client VM
      VM version
      1.8.0_241-b07
      Java home
      /opt/jdk1.8.0_241/jre

      I get this error only in WINDIR WINGS message
      for example this message

      20;4e;Alecto V1;ID=0005;WINDIR=0012;WINGS=001c;BAT=OK;\r
      

      I get this error
      2020-05-02 17:20:14,053 ERROR [Thread-26] [org.mycontroller.standalone.gateway.serial.SerialDataListenerjSerialComm:201] Exception, RawMessage:[20;4e;Alecto V1;ID=0005;WINDIR=0012;WINGS=001c;BAT=OK;\r]
      java.lang.NumberFormatException: Infinite or NaN
      at java.math.BigDecimal.<init>(BigDecimal.java:898)
      at java.math.BigDecimal.<init>(BigDecimal.java:875)
      at org.mycontroller.standalone.utils.McUtils.getDoubleAsString(McUtils.java:106)
      at org.mycontroller.standalone.utils.McUtils.getDoubleAsString(McUtils.java:117)
      at org.mycontroller.standalone.provider.rflink.RFLink.getPayload(RFLink.java:112)
      at org.mycontroller.standalone.provider.rflink.RFLink.getPayload(RFLink.java:116)
      at org.mycontroller.standalone.provider.rflink.MessageParserRFLink.get(MessageParserRFLink.java:198)
      at org.mycontroller.standalone.provider.rflink.MessageParserRFLink.getMessage(MessageParserRFLink.java:130)
      at org.mycontroller.standalone.provider.rflink.MessageParserRFLink.getMessage(MessageParserRFLink.java:39)
      at org.mycontroller.standalone.gateway.serial.SerialDataListenerjSerialComm.serialEvent(SerialDriverJSerialComm.java:170)
      at com.fazecast.jSerialComm.SerialPort$SerialPortEventListener.waitForSerialEvent(SerialPort.java:937)
      at com.fazecast.jSerialComm.SerialPort$SerialPortEventListener$1.run(SerialPort.java:885)
      at java.lang.Thread.run(Thread.java:748)

      It happens only with this message, RAIN, TEMP & HUM and WINSP are decoded.

      posted in Troubleshooting
      Z
      zoomx
    • RE: How to install Mycontroller on the RaspberryPI (or any other linux/UNIX system)

      @Tag said in How to install Mycontroller on the RaspberryPI (or any other linux/UNIX system):

      1. Connecting to the gateway
        There are 2 ways of connecting the NRF24L01 radio,

      What about ESP8266 gateway?

      posted in Getting Started
      Z
      zoomx