• Booting Rpi3 MyController from USB only

    1
    1 Votes
    1 Posts
    672 Views
    No one has replied
  • firmware update on rpi problem

    7
    0 Votes
    7 Posts
    1k Views
    skywatchS
    This is the reason I moved to a pi3 for MYC. It can boot from USB and that is the way I think best to go, just need to read up on how it all works!
  • How to start at all

    8
    0 Votes
    8 Posts
    2k Views
    jkandasaJ
    @staffan Hi, Did you check the user manual file? available on download section? If your MySensors gateway is USB, select as follows, [image: 1508474314826-0d214ad7-684c-4384-86b0-053807ee98b3-image.png] Tx message processing delay: Transmission delay between on each message from MyController to this gateway to avoid the collision on MySensors network. Driver: Keep it as Auto Port name: default /dev/ttyUSB0 Baud rate: default 115200 Retry frequency: For some reason, if your gateway goes down. MyController attempt to reconnect every X seconds once. Connect your gateway on RPI USB port, run this command to know your USB port name: ls -lh /dev/ttyUSB* Once you setup the gateway on MyController, your gateway should show UP. now click on Action button on gateway and select Discover, [Note: You should have added about your node data on presentation() block of your node code.] [image: 1508475340514-f531a78d-46ca-4c88-8698-38bd375eecd3-image.png]. Now you can see your gateway and nodes on MyController.
  • Hi CPU usage on OrangePi Zero (256Mb)

    4
    0 Votes
    4 Posts
    1k Views
    T
    Hi! (Sorry missed this topic...) I am using the interrupt driven mysgw also, and it really lowered the CPU usage. Another option which i used temporarily on my 512Mb Opi Zero is add an arduino with the radio wired to the arduino ports and attach this to the usb port of the Opi-Zero, this brings the cpu usage really down. Hope this helps.....
  • How to enable a SSL certificate?

    3
    0 Votes
    3 Posts
    2k Views
    C
    This is how I updated the keystore.jks to run with letsencrypt!! Register with any free dyndns provider (e.g. http://www.dnshome.de ) Enter the access data in your router The next step is a little bit tricky .. here is what I did install apache2 enable port forwarding for port 80 in your router https://tutorials-raspberrypi.de/raspberry-pi-ssl-zertifikat-kostenlos-mit-lets-encrypt-erstellen/ The relevant certificate files are located here after running autocert: /etc/letsencrypt/live/YOURDOMAIN Then check this out (https://blog.codecentric.de/2013/01/selbstsignierte-zertifikate-aus-pem-dateien-in-java/) openssl pkcs12 -export -out keystore.p12 -inkey privkey.pem -in cert.pem keytool -importkeystore -destkeystore keystore.jks -srcstoretype PKCS12 -srckeystore keystore.p12 cp keystore.jks /home/pi/mycontroller/conf Edit mycontroller.properties: mcc.web.ssl.keystore.file=../conf/keystore.jks mcc.web.ssl.keystore.password=mycontroller mcc.web.ssl.keystore.type=JKS mycontroller must be replaced by the passwort you choose during certificate export with openssl You can now disable port forwarding for port 80 and enable port forwarding for port 8443 (be sure to choose a strong passwort) Result: [image: 1507657117171-470a10e6-5b49-4071-8679-ad784e0a14e8-image.png] !!! Valid certificate in all major browsers (chrome in my example) !!!
  • 0 Votes
    14 Posts
    5k Views
    jkandasaJ
    @iamtheghost Are you using inbuilt serial IO pins from raspberry PI? If yes, you may need to disable console login. Have you configured this serial port for any other service? looks like you have some issues with your gateway serial port.
  • Big Crash....... ???

    4
    0 Votes
    4 Posts
    1k Views
    jkandasaJ
    @skywatch Thank you for the email. #is there a way to back up and restore when this happens#? Yes, you can schedule backup for every hour once. If something goes unrecoverable. do restore from the last backup.
  • Pressure Sensor (Barometer)

    10
    0 Votes
    10 Posts
    2k Views
    T
    @jkandasa Ah!, okay, missed that one, thanks!!
  • High Memory Usage, is this normal?

    14
    0 Votes
    14 Posts
    3k Views
    jkandasaJ
    @skywatch Yes, I put 512KB limit to avoid storage full. Yes please send to jkandasa at gmail dot com
  • DB Caching oddities...?

    4
    0 Votes
    4 Posts
    2k Views
    H
    It must be related, so here is a snippet of an exception java is throwing every 30 seconds: mycontroller.log I captured the top of the log output after a well-behaved stop & start from a windows shell. The jvm is running as an administrator user, not the actual Administrator account. The install was also done as this user. HTH pat : )
  • Examples of advanced control rules

    17
    0 Votes
    17 Posts
    5k Views
    jkandasaJ
    @goranrad JavaScript, var myImports = new JavaImporter(java.lang, java.util); with(myImports) { var humidity_threshold = 78.4; var on_time = 10; // seconds humidity = mcApi.uidTag().getByUid("uid-humidity").getResource(); humidifier = mcApi.uidTag().getByUid("uid-humidifier").getResource(); if(parseFloat(humidity.value) < humidity_threshold){ humidifier.value = "1"; mcApi.sensor().sendPayload(humidifier); // sensd state Thread.sleep(on_time * 1000); humidifier.value = "0"; mcApi.sensor().sendPayload(humidifier); // sensd state } }
  • MQTT loop

    2
    0 Votes
    2 Posts
    1k Views
    jkandasaJ
    @mpp Please follow this topic on https://forum.mysensors.org/topic/6839/mqtt-keeps-reconnecting
  • MySensor auto node ID

    17
    0 Votes
    17 Posts
    11k Views
    B
    @mpp Guys in MySensors forum noticed I cleared EEPROM with zeros instead of 0xFF.
  • How to use Rain sensor

    1
    1 Votes
    1 Posts
    960 Views
    No one has replied
  • Connecting to Phillips HUE

    13
    0 Votes
    13 Posts
    4k Views
    F
    @jkandasa It's working! Thanks. it would be great to have a simple tool to create massive operations. Like "create all ON operation for selected Binary sensors" or something like that. Thanks again!
  • Update from develop and cannot start...

    4
    0 Votes
    4 Posts
    2k Views
    jkandasaJ
    @njbuch Do not copy original-my controller-dist-standalone-0.0.3.Final-SNAPSHOT-single.jar copy only mycontroller-dist-standalone-0.0.3.Final-SNAPSHOT-single.jar, delete all other jar files on /home/njb/Desktop/mycontroller/lib/
  • MyController Time widget not updating Daylight Saving

    time timezone
    4
    0 Votes
    4 Posts
    2k Views
    F
    The system is now working after 3 days on running. I guess there is some delayed update. Cheers
  • Database issue?

    6
    0 Votes
    6 Posts
    3k Views
    jkandasaJ
    @benya Remove old database Start MyController Restore your backup file Start MyController
  • Rule and operation order

    3
    0 Votes
    3 Posts
    1k Views
    B
    Any chance to overcome this limitation? At least keep operations in the order they were added to the rule.
  • Corrupted database?

    3
    0 Votes
    3 Posts
    1k Views
    B
    Thanks. Your fix helped

0

Online

576

Users

528

Topics

3.4k

Posts