• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. fsgrazzutti
    F
    • Profile
    • Following 1
    • Followers 0
    • Topics 5
    • Posts 35
    • Best 12
    • Controversial 0
    • Groups 0

    fsgrazzutti

    @fsgrazzutti

    12
    Reputation
    9
    Profile views
    35
    Posts
    0
    Followers
    1
    Following
    Joined Last Online
    Location Olching - BY (DE) Age 60

    fsgrazzutti Unfollow Follow

    Best posts made by fsgrazzutti

    • RE: Custom widget

      @jkandasa,

      I found a typo in your example : https://<mycontrollerip>:8334/mylib/gauge.min.js
      Using https://<mycontrollerip>:8443/mylib/gauge.min.js it works !

      Congratulations for MyController !

      posted in Dashboard
      F
      fsgrazzutti
    • RE: Send Telegram bot message

      @jkandasa I finally had the chance to test the SNAPSHOT and it works !

      Now I have just to remember how to send the sensor states.

      Thanks a lot !

      posted in Operations
      F
      fsgrazzutti
    • RE: Weird behaviour on time report

      Hi,

      not really, I sent a request and got 3 replies.

      cause 1:
      I discovered that OpenHab was enabled at the same time even if I removed the gateway from its things (just wanted to give it a try), so I just unistalled it and the problem disappeared.
      For a while...

      cause 2:
      I was using MYSController for real time debugging of my sensors, but without enablig the "RX only" mode.
      Once enabled the RX only mode, the problem disappeared completely.

      So, there's nothing wrong with MyController, but rather a weird scenario caused by me.

      Enabling ACK on both sensors and Mycontroller I could figure out what was going on.

      So, false alarm, sorry !

      Franco.

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: No position or time from MySensors GPS Sensor

      I have some additional information.

      I added a S_INFO child to the GPS sensor and sent the position as text. MyController gets confused again.
      I suspected that the semicolon ; can generate confusion in the parser, so in the text information I changed the semicolon ; with a pipe | separator and the text is reported correctly.
      2020-06-23.png 2020-06-23 (1).png

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forward payload list too short

      @jkandasa thanks for your kind answer.
      It's what I imagined.
      My use case is: Recreational vehicle equipped with 15-20 nodes to monitor resources like air quality, water, batteries, power supplies and chargers, gas, temperature&humidity, gps, heading and inclination and so on.

      So, it's a Smart Mobile Home !

      I chose to build a display node just because the white background of the web interface does not fit really well (too much light during the night, annoying when you drive. But I would have avoided it if I only could 😉 since it's time and nerves consuming, and buy a couple of cheap tablets instead.

      But since I am there, I'd like to keep on using it, so if we could increment it it would be super nice. The same applies to operations and to dashboard, since it'a hard to pick the proper sensor variable when you have about 200 sensor variables, and growing.

      Thanks in advance and keep up the good work !
      Franco.

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forward payload list too short

      @jkandasa I am using nRF24L01. since the distance is short and there are no RF obstacles.

      Most sensors are base on the Keywish RF-NANO, which is very convenient for non-battery supplied applications.
      The serial gateway itself is just an RF-NANO plugged into the Raspberry Pii where MyController is running.

      So far I've developed:

      with RF-NANO

      1. temperature/humdity sensors
      2. RS485 sensor interfaced with 2 power meters (for inverter and mains)
      3. GPS sensor
      4. water tank level and flow
      5. inclinometer (sleeping and cooking on a inclined plane is no fun).

      with ESP32+nRF

      1. BLE interface to commercial Solar Charger
      2. Wifi interface to commercial Battery Manager
      3. Air Quality Sensor (this works as a Wifi gateway)

      with Arduino Mega + nRF (maybe I'll migrate to ESP32 using WiFi)

      1. touch 3.5" display

      Lights, relays, door locks and alarms to come.

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forward payload list too short

      @jkandasa it works !
      it is a bit slower than before (30") but it does what I was missing.

      Great job, thank you !

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forward payload list too short

      @jkandasa increasing the memory did it. thanks again !

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forwarding stops working

      @jkandasa sorry for the late reply.

      I don't get any error, just the lists are empty.
      Loading the Sensors subpage, it stays there forever.

      it seems a database relate issue, maybe I have too many sensors reporting. (average duration is 20ms, 600 messages per minute.

      In the meantime I just took a ESP32 and cyclic query in influx db all the sensors that the display expects, and then just forward node-to-node to the display (I use mysensors and nRF24 radio). Still a couple of variable casting problems on V_PERCENTAGE but it works.

      Of course, I look forward to get back to Mycontroller

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forwarding stops working

      @jkandasa I will give it a try to the snapshot, thanks !

      posted in Troubleshooting
      F
      fsgrazzutti

    Latest posts made by fsgrazzutti

    • RE: Send Telegram bot message

      @jkandasa I finally had the chance to test the SNAPSHOT and it works !

      Now I have just to remember how to send the sensor states.

      Thanks a lot !

      posted in Operations
      F
      fsgrazzutti
    • RE: Send Telegram bot message

      @jkandasa thanks,

      no, I did not tried it yet, I am a bit scared about the installation. I recently migrated v1.6 to a windows 10 PC

      posted in Operations
      F
      fsgrazzutti
    • RE: Send Telegram bot message

      Hello @jkandasa ,

      I wanted to update Telegram configuration on my Mycontroller setup, version 1.6.0-SNAPSHOT,
      Git commit:branch
      263b61248fe66e251519c606ecd6f48a73d75b07:development
      Built on
      2021-05-08T18:35:53Z

      The Id I got is 537757xxxx, and I get an error message :
      Numeric value (537757xxxx) out of range of int.

      any chance to get it fixed ?

      posted in Operations
      F
      fsgrazzutti
    • RE: How to delete a sensor variable from script

      @jkandasa I will never be thankful enough for MyController

      I found this looking for a way to delete sensors older than a time interval. The reason is that over time and trials I have accumulated a huge amount of sensor variables which I would like to get rid of.
      Sometimes they are just sensor variables added on top of the true ones.

      Since I have little practice with Javascript I would need some guidance to write a script which removes all the sensor variables older than a given (fixed) interval.

      posted in Scripts
      F
      fsgrazzutti
    • RE: Compiler error due to SimpleTimer library

      @jkandasa ,
      thanks a lot for the prompt answer.

      Fun fact, this is the library I use, and there's no run() method, but it appears in the example on the page you linked.

      I'm confused now.

      Cheers,
      Franco

      posted in MyControllerDevice (ESP8266)
      F
      fsgrazzutti
    • Compiler error due to SimpleTimer library

      Hi @jkandasa,

      I get this error:

      MyController.cpp: 158:9: error: 'class SimpleTimer' has no member named 'run
      158 | timer.run(); \ SimpleTimer is working
      | ^~~

      But I could not find any library that has this member.

      Any help is much appreciated

      posted in MyControllerDevice (ESP8266)
      F
      fsgrazzutti
    • RE: Forwarding stops working

      @jkandasa I just installed the last SNAPSHOT to the home server and restored the last backup and it works smoothly 🙂

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forwarding stops working

      @jkandasa today I installed the latest SNAPSHOT, but I wanted to start from a fresh configuration, so I did not restore any backup from the previous snapshot.

      So far, looks like it is running much faster, and the sensors dropdown list is filled in a few seconds instead of minutes as before.

      Great job ! Happy to be back with MyController !

      I will still keep the actual solution for the display.
      In this way the data from influxdb to the display doesn't go thought MyController. I added a second serial gateway(different channel and network ID) just for that scope, and so far just for date and time syncronisation.

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forwarding stops working

      @jkandasa I will give it a try to the snapshot, thanks !

      posted in Troubleshooting
      F
      fsgrazzutti
    • RE: Forwarding stops working

      @jkandasa sorry for the late reply.

      I don't get any error, just the lists are empty.
      Loading the Sensors subpage, it stays there forever.

      it seems a database relate issue, maybe I have too many sensors reporting. (average duration is 20ms, 600 messages per minute.

      In the meantime I just took a ESP32 and cyclic query in influx db all the sensors that the display expects, and then just forward node-to-node to the display (I use mysensors and nRF24 radio). Still a couple of variable casting problems on V_PERCENTAGE but it works.

      Of course, I look forward to get back to Mycontroller

      posted in Troubleshooting
      F
      fsgrazzutti