• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. esawyja
    3. Posts
    E
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 3
    • Posts 33
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How would I connect this, Raspberry Pi, RFM69 and Arduino

      Thank you @jkandasa

      posted in MyControllerDevice (ESP8266)
      E
      esawyja
    • RE: How would I connect this, Raspberry Pi, RFM69 and Arduino

      Hi @jkandasa , when you say "Raspberry PI built in Tx/Rx pins with your Arduino" , does this mean, build a serial gateway on a Arduino Mini pro and connect the tx and rx pins 0_1490779496472_image.png
      directly to the raspberry pi? Or must I use something like the Nano and connect the Nano to the Raspberry PI with serial to USB?

      What would your suggestion be for sending the sensor data to the cloud, I was thinking

      "Sensor - ProMini with 433Mhz radio" >> "Serial Gateway - ProMini with 433Mhz radio" >> "Some Connection to Rapberry Pi" >> "Raspberry PI with MyController and GSM modem"

      Regards

      posted in MyControllerDevice (ESP8266)
      E
      esawyja
    • RE: Data Export

      Thanks again @jkandasa , After downloading the correct version, I got it working!

      posted in Dashboard
      E
      esawyja
    • RE: Data Export

      Hi @jkandasa
      I don't know if I'm doing something weird, but I get this below

      pi@mmm_gateway:~ $ sudo -i
      root@mmm_gateway:~# /opt/mycontroller/bin/stop.sh 
      Termination issued for Mycontroller.org server!
      root@mmm_gateway:~# ps -ef | grep myc
      root     18358 18300  0 13:14 pts/0    00:00:00 grep myc
      root@mmm_gateway:~# cd /opt/temp
      root@mmm_gateway:/opt/temp# ls -ltr
      total 30648
      -rw-r--r-- 1 root root  7791840 Apr  5  2014 h2-2014-04-05.zip
      root@mmm_gateway:/opt/temp# java -cp h2/bin/h2*.jar org.h2.tools.Shell
      
      Welcome to H2 Shell 1.3.176 (2014-04-05)
      Exit with Ctrl+C
      [Enter]   jdbc:h2:~/test
      URL       jdbc:h2:/opt/mycontroller/conf/mycontroller
      [Enter]   org.h2.Driver
      Driver    org.h2.Driver
      [Enter]   
      User      mycontroller
      [Enter]   Hide
      Password  mycontroller
      Connected
      Commands are case insensitive; SQL statements end with ';'
      help or ?      Display this help
      list           Toggle result list / stack trace mode
      maxwidth       Set maximum column width (default is 100)
      autocommit     Enable or disable autocommit
      history        Show the last 20 statements
      quit or exit   Close the connection and exit
      
      sql> select * from user;
      Error: org.h2.jdbc.JdbcSQLException: Table "USER" not found; SQL statement:
      select * from user [42102-176]
      sql> show databases;
      SCHEMA_NAME
      INFORMATION_SCHEMA
      PUBLIC
      (2 rows, 11 ms)
      sql> show tables;
      TABLE_NAME | TABLE_SCHEMA
      (0 rows, 19 ms)
      sql> quit
      Connection closed
      root@mmm_gateway:/opt/temp# /opt/mycontroller/bin/start.sh 
      /usr/bin/java
      java version: 1.8.0_65
      Start issued for Mycontroller
      root@mmm_gateway:/opt/temp# ps -ef | grep myc
      root     18403     1 99 13:16 pts/0    00:00:08 java -Xms8m -Xmx150m -Dlogback.configurationFile=../conf/logback.xml -Dmc.conf.file=../conf/mycontroller.properties -cp ../lib/* org.mycontroller.standalone.StartApp
      root     18434 18300  0 13:17 pts/0    00:00:00 grep myc
      root@mmm_gateway:/opt/temp# 
      

      Could you please point me in the right direction?

      posted in Dashboard
      E
      esawyja
    • RE: Hour Meter

      Thanks so much

      posted in Dashboard
      E
      esawyja
    • RE: Hour Meter

      @jkandasa It works when I use status, but any reason why my logic on watts used does not work please? I would like to understand, is this written only for state?
      Regards

      posted in Dashboard
      E
      esawyja
    • RE: Hour Meter

      Hi
      Thank you, Let me try that, I just thought that detecting the watts used will be a good enough trigger
      Regards

      posted in Dashboard
      E
      esawyja
    • RE: Hour Meter

      I must be doing something wrong, I have a CT on my water heater and I tried to use that as a trigger, I see the clock, but does not run
      0_1489929047443_image.png
      0_1489929075370_image.png
      0_1489929101621_image.png
      0_1489929123342_image.png
      0_1489929216819_image.png
      0_1489929246220_image.png
      0_1489929290177_image.png
      0_1489929324956_image.png

      If I look at the rules I can see that they were triggered, but the clock does not want to update
      0_1489929376722_image.png

      Please would you check my implementation and let me know what I'm doing wrong
      Regards

      posted in Dashboard
      E
      esawyja
    • RE: How would I connect this, Raspberry Pi, RFM69 and Arduino

      Thanks, but I want to stay away from the crowded 2.4Ghz band, I've learned my lesson 🙂

      posted in MyControllerDevice (ESP8266)
      E
      esawyja
    • RE: How would I connect this, Raspberry Pi, RFM69 and Arduino

      Thanks @jkandasa

      posted in MyControllerDevice (ESP8266)
      E
      esawyja
    • How would I connect this, Raspberry Pi, RFM69 and Arduino

      Hi all
      I'm been running MyController.org (THE BEST CONTROLLER...) on a Raspberry Pi with NRF24 radios for some time without any problems, but I do have a bit of a range issue. So I decided to invest in some RFM69 radios, the problem comes in when using MySensors, there is no support at the moment for Raspberry PI's and RFM69 radios, so if I build a serial gateway on an Arduino pro mini with a RFM69 radio, how would I connect the Raspberry to the Arduino? Keeping the MyController.org controller running on the Raspberry PI,
      Any Ideas on this please?
      Regards

      posted in MyControllerDevice (ESP8266) gateway serial pro mini
      E
      esawyja
    • RE: Data Export

      aaah thank you once again @jkandasa

      posted in Dashboard
      E
      esawyja
    • Data Export

      Hi
      I saw an issue about exporting the data to csv format and that the feature was dropped in the 0.0.3 release
      https://github.com/mycontroller-org/mycontroller/issues/361
      But is there ANY way that I can export the data for a particular sensor, while we wait for the next release please, maybe some kind of script please or just some commands on how to view the H2 database?
      Regards

      posted in Dashboard
      E
      esawyja
    • RE: Hour Meter

      @jkandasa BRILLIANT, thank you soooo much!!, I will test this out over the weekend and give some feedback!

      posted in Dashboard
      E
      esawyja
    • Hour Meter

      Hi all,
      Is it possible to display a hour meter on the dashboard? I have a standby generator and would love to log the hours that the generator runs, I can detect the AC with a CT clampon, so if I can send the start of the generator to MyController and start the hourmeter and stop when the generator turns off?
      Any ideas on how I could get this to work please?
      Regards

      posted in Dashboard custom widget script javascript hour meter generator
      E
      esawyja
    • RE: Custom widget

      Thanks so much!!

      posted in Dashboard
      E
      esawyja
    • RE: Custom widget

      Could we not just add this as a widget type, when you add new widget, have a entry for gauge?
      That would be awesome instead of adding all this code?

      posted in Dashboard
      E
      esawyja
    • RE: Custom widget

      @jkandasa said:

      temperatureSen.value

      THANK YOU!!!! It works now

      posted in Dashboard
      E
      esawyja
    • RE: Custom widget

      Hi all,
      This problem is driving me insane, does anyone please have some advice on where to look for this problem?
      Regards

      posted in Dashboard
      E
      esawyja
    • RE: Custom widget

      I do get the readings now, when I run the script, the gauge.min.js is accessible, just the gauge does not want to work, with the error above... Please anyone? I'm out of ideas

      posted in Dashboard
      E
      esawyja