• HOW TO: Automatically turn off relay after defined time

    Pinned
    3
    1 Votes
    3 Posts
    2k Views
    Z
    @tag for my application, I wanted to be able to manually trigger my sprinklers outside the schedule, so this seems to be working pretty well. I don't think I have a need to lock out the operation for any reason yet, but I'll keep it in mind!
  • 0 Votes
    13 Posts
    8k Views
    T
    @sherif Hi Sherrif!, What error do you see? have you tried to create the file in /etc/init.d with the command: sudo touch /etc/init.d/mycontroller
  • What is MyController.org?

    Pinned
    1
    0 Votes
    1 Posts
    8k Views
    No one has replied
  • Starter Help

    9
    0 Votes
    9 Posts
    1k Views
    jkandasaJ
    @mostafa topic names are case sensitive. looks like on your Arduino sketch you have supplied in_Esp. This should be in_esp and the same for out_esp too.
  • Hello everyone, newbish question

    3
    0 Votes
    3 Posts
    250 Views
    F
    thank you, they answered my question. and brought 3 more
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Email notification setup

    20
    0 Votes
    20 Posts
    4k Views
    skywatchS
    @skywatch Emails working fine for me now
  • [SOLVED] Cannot get Pushbullet to work

    7
    0 Votes
    7 Posts
    417 Views
    bmanosB
    Hello again I reinstalled the pi and the jdk and the pushbullet issue is gone now Thanks again @jkandasa Emmanuel
  • HOW TO: Disable Login Page or apply auto login

    7
    0 Votes
    7 Posts
    861 Views
    skywatchS
    @petri Ah - OK, then I have no solution for you except a password manager afaik.
  • Demo login and password

    2
    0 Votes
    2 Posts
    351 Views
    jkandasaJ
    @Tomas looks like someone changed it. I have updated in the login page too. Username : demo Password : demo
  • How to install my controller on windows.

    4
    0 Votes
    4 Posts
    1k Views
    jkandasaJ
    @lukash535 This is a great sharing!!
  • A few starter questions

    2
    0 Votes
    2 Posts
    523 Views
    jkandasaJ
    @aliasjim MYController discovered a sensor called "SENSOR_BC", any idea what this is? I guess this is related to the issue: https://github.com/mycontroller-org/mycontroller/issues/484, But still, I did not get any clue, Is it possible to select a unit for a sensor "lightlevel(lux)" instead of (%)? It is possible to change a unit, MyController does not have the unit lightlevel(lux). Can you create a ticket to add this? I have one sensor with 2 "variable types", what does this mean and how can i remove one (one has no value) Edit sensor and uncheck a variable, which you do not want. I hope it is reported by your sketch/node. So it may recreate again a later time. I have digital sensors that are interrupt driven both when going low and when going high, but in mycontroller the sensor gets tripped and stays tripped (in dashboard, on the graph it does revert state back) MyController graphs are updated every 30 seconds(default) once. You can refresh the page to see the changes. If not your sketch/node may not report the new state. I love this software esspechially the FOTA part, no more running around with laptop and cables. Great work Thank you
  • FOTA tutorial?

    9
    0 Votes
    9 Posts
    1k Views
    G
    @aliasjim That's great! Just for the record, I compiled all the bootloaders here: https://github.com/guillebot/MYSensors-Bootloaders all the channels, for 1, 8 and 16MHz.
  • cant get mycontroller app to open

    4
    0 Votes
    4 Posts
    552 Views
    jkandasaJ
    @aliasjim I never tested with two kinds of a controller, May be possible. MQTT might fit for this requirement. Other users might experience this setup.
  • [SOLVED] Sending IR codes.....

    3
    0 Votes
    3 Posts
    628 Views
    skywatchS
    Thank you @jkandasa !
  • Scripting - documenation/tutorial examples

    2
    0 Votes
    2 Posts
    1k Views
    jkandasaJ
    @rmf69 Hi Welcome to MyController community! Have you tried with these examples?
  • This topic is deleted!

    9
    0 Votes
    9 Posts
    93 Views
  • HOW TO: Simple timer based relay activation

    1
    2 Votes
    1 Posts
    1k Views
    No one has replied
  • Retrieving values table from sensor graphs

    3
    0 Votes
    3 Posts
    1k Views
    M
    Thanks, I tried running the script: var myImports = new JavaImporter(java.io, java.lang, java.util, java.text); with(myImports) { var sVar = mcApi.uidTag().getByUid("temp-outside").getResource(); // Get sensor variable object with UidTag api var minMaxData = mcApi.metric().getSensorVariableMetricDouble(sVar, 0,1479833863195); //(sensor-variable-object, from-timestamp, to-timestamp) } changing "temp-outside" to my own uidTag for my sensor. It worked but seemed to return a lot more information than needed, although I see that the value (distance) is there, but among a lot of unwanted data. Is there a way of extracting just time/distance from this? Here's a sample of what was returned.... { "sVar": { "id": 7, "sensor": { "id": 8, "sensorId": "1", "type": "S_DISTANCE", "name": "", "lastSeen": 1509978854438, "node": { "id": 10, "eui": "1", "gatewayTable": { "id": 1, "enabled": true, "name": "Serial Gateway", "networkType": "MY_SENSORS", "state": "UP", "statusMessage": "Connected Successfully", "statusSince": 1509967019993, "type": "SERIAL", "properties": { "br": 115200, "rdr": "jSerialComm", "rf": 30, "txDelay": 0, "dr": "Auto", "pn": "/dev/ttyACM0" } }, "name": "Distance Sensor", "version": "1.0", "type": "S_ARDUINO_NODE", "libVersion": "2.1.1", "state": "UP", "lastSeen": 1509978855129, "properties": { "hbTx": 1509978436346 }, "registrationState": "REGISTERED", "smartSleepEnabled": false }, "variableTypes": [ "Distance" ], "idforVariables": 8 }, "variableType": "V_DISTANCE", "metricType": "DOUBLE", "timestamp": 1509978853779, "value": "151", "previousValue": "150", "unitType": "U_DISTANCE", "readOnly": false, "offset": 0, "priority": 100, "properties": { "marginRight": 20, "color": "#ff7f0e", "interpolate": "linear", "subType": "line", "marginBottom": 60, "useGlobal": true, "type": "lineChart", "marginTop": 5, "marginLeft": 65 }, "metricsGraph": { "id": 5, "metricName": "Distance", "type": "lineChart", "interpolate": "linear", "subType": "line", "color": "#ff7f0e" } }, "myImports": {}, "minMaxData": { "variable": { "id": 7, "sensor": { "id": 8, "sensorId": "1", "type": "S_DISTANCE", "name": "", "lastSeen": 1509978854438, "node": { "id": 10, "eui": "1", "gatewayTable": { "id": 1, "enabled": true, "name": "Serial Gateway", "networkType": "MY_SENSORS", "state": "UP", "statusMessage": "Connected Successfully", "statusSince": 1509967019993, "type": "SERIAL", "properties": { "br": 115200, "rdr": "jSerialComm", "rf": 30, "txDelay": 0, "dr": "Auto", "pn": "/dev/ttyACM0" } }, "name": "Distance Sensor", "version": "1.0", "type": "S_ARDUINO_NODE", "libVersion": "2.1.1", "state": "UP", "lastSeen": 1509978855129, "properties": { "hbTx": 1509978436346 }, "registrationState": "REGISTERED", "smartSleepEnabled": false }, "variableTypes": [ "Distance" ], "idforVariables": 8 }, "variableType": "V_DISTANCE", "metricType": "DOUBLE", "timestamp": 1509978853779, "value": "151", "previousValue": "150", "unitType": "U_DISTANCE", "readOnly": false, "offset": 0, "priority": 100, "properties": { "marginRight": 20, "color": "#ff7f0e", "interpolate": "linear", "subType": "line", "marginBottom": 60, "useGlobal": true, "type": "lineChart", "marginTop": 5, "marginLeft": 65 }, "metricsGraph": { "id": 5, "metricName": "Distance", "type": "lineChart", "interpolate": "linear", "subType": "line", "color": "#ff7f0e" } } } }
  • Dirty upgrade - for advanced users. [NOT RECOMMENDED ;) ]

    6
    0 Votes
    6 Posts
    2k Views
    T
    @jkandasa I created a googledrive download script!, maybe it is usefull for you #!/bin/sh if [ "$#" -ne 2 ] ; then clear echo "Usage ./get-googledrive doc-id filename" echo "Where the doc-id is the number presented on the share link in google drive" exit 1 fi echo echo '-----------------------------------------------------------------------' echo 'Getting doc-id : ' $1 echo 'Saving to filename : ' $2 echo '-----------------------------------------------------------------------' echo wget --no-check-certificate 'https://docs.google.com/uc?export=download&id='$1 -O $2 (not sure if the doc-id changes once you post a new version.....)

0

Online

556

Users

525

Topics

3.4k

Posts