Subcategories

  • Grafana install

    15
    0 Votes
    15 Posts
    708 Views
    J
    MyController can be installed anywhere, it is pure carbon, the hardest material
  • Arduino 1.8.19 available

    1
    1 Votes
    1 Posts
    194 Views
    No one has replied
  • PuTTY 0.76 released.

    1
    1 Votes
    1 Posts
    217 Views
    No one has replied
  • Arduino version 1.8.15 now available for download

    1
    1 Votes
    1 Posts
    260 Views
    No one has replied
  • PuTTY 0.75 released.

    1
    1 Votes
    1 Posts
    231 Views
    No one has replied
  • Arduino version 1.8.14 now available for download

    1
    1 Votes
    1 Posts
    262 Views
    No one has replied
  • Need Help with DualOptiboot Fota

    6
    0 Votes
    6 Posts
    445 Views
    S
    @jkandasa Thank you for your help: I summarize what you asked me to do and which works now: The (minimum) equipment to test FOTA: I have a ATMega 328p BareBones (8MHz internal) + led attached to PB1 (pin15)+ SPI Flash memory + 3.3v regulator + RFM69HCW. Install ArduinoISP program to ProMini (Programmer) Connect MySensors board on ProMini (ArduinoISP) via ISP header Select, Programmer="Arduino as ISP", Board:"Sensbender Micro", Processor:"Atmega 328 8Mhz" Now click on "Burn Bootloader". bootloader will be loaded on MySensors board Remove ISP header and remove ProMini from your computer Connect MySensors board to USB via FTDI connector Upload MySensors sketch(OTA should be enabled on the sketch) to MySensors board Now the MySensors node will appear in MyController server. Modify the MySensors sketch and upload it to MyController Now trigger "Firmware upload" from MyController server page. This is the first sketch to upload one time with the USB to FTDI connector : //pr1: minimal sketch for fota with blink led #define blinkTime 200 #define SKETCH_NAME "SensBender Led 200 -70" //25 caracteres max #define SKETCH_VERSION "pr1" //===== RFM config ===== // Enable and select radio type attached #define MY_RADIO_RFM69 //#define MY_DEBUG_VERBOSE_RFM69 //#define MY_DEBUG_VERBOSE_RFM69_REGISTERS #define MY_RFM69_NEW_DRIVER //#define MY_RFM69_ATC_MODE_DISABLED #define MY_RFM69_ATC_TARGET_RSSI_DBM (-70) // target RSSI -70dBm//BUG //#define MY_RFM69_MAX_POWER_LEVEL_DBM (20) // max. TX power 10dBm = 10mW//MARCHE #define MY_RFM69_FREQUENCY (RFM69_868MHZ) #define MY_IS_RFM69HW //with H(CW) //#define MY_RFM69HW (true) //#define MY_RFM69_NETWORKID (100) //#define MY_RFM69_BITRATE_MSB (RFM69_BITRATEMSB_1200) //#define MY_RFM69_BITRATE_LSB (RFM69_BITRATELSB_1200) // Enable repeater functionality for this node //#define MY_REPEATER_FEATURE #define MY_DEBUG //===== LED ===== #define LED_BUILTIN 9 //pb1 pin15 //===== This Node ID ===== #define MY_NODE_ID 0x02 //===== Enable OTA feature ===== #define MY_OTA_FIRMWARE_FEATURE #define MY_OTA_FLASH_SS (8) //pb0 pin14 #define MY_OTA_FLASH_JDECID 0x00 //0x00 if you don't know #include <MySensors.h> //=================================== //= SETUP = //=================================== void setup() {//pas besoin de Serial.begin(115200) pinMode(LED_BUILTIN, OUTPUT); Serial.print("Start "); Serial.print(SKETCH_NAME); Serial.print(" "); Serial.println(SKETCH_VERSION); }//FIN du SETUP //========================================== //= PRESENTATION = //========================================== void presentation() { // Send the sketch version information to the gateway and controller sendSketchInfo(SKETCH_NAME, SKETCH_VERSION); } // FIN de PRESENTATION //=================================== //= LOOP = //=================================== void loop() { digitalWrite(LED_BUILTIN, HIGH); Serial.print("LED ON "); wait(blinkTime); digitalWrite(LED_BUILTIN, LOW); Serial.println("LED OFF "); wait(blinkTime); }// FIN de LOOP Change blinkTime time and compil the sketch , then upload firmware .hex with MYCONTROLLER. Enjoy
  • Merry Christmas and a Happy New Year!

    7
    2 Votes
    7 Posts
    459 Views
    skywatchS
    @skywatch admin/admin - got it now!
  • The question is about groups scenarios

    9
    0 Votes
    9 Posts
    402 Views
    C
    it's a shame, it's a pity that there is no such possibility ..
  • Correct way RSSI display in current version

    5
    0 Votes
    5 Posts
    296 Views
    C
    @jkandasa Senks, unfortunately I have not seen this post, but together we found a way out of this task https://forum.mysensors.org/topic/11373/where-to-send-messages-about-battery-charge-and-signal-strength/12
  • how to change the built-in MQTT broker to use SSL?

    8
    0 Votes
    8 Posts
    390 Views
    C
    @jkandasa Thank you very much, I will look forward to it
  • Strange routing and sensor assignments

    3
    0 Votes
    3 Posts
    240 Views
    C
    @jkandasa Thanks for the quick reply, but I did not look at the log at the time of adding. Or rather, no recordings caught my attention when I watched it later! With sensor detection and information I tried it, unfortunately the topology hasn't changed. It seems to me that this is due to the fact that the auto gateway is registered in the repeater state. I will check this later. I have one more question: how to change the built-in MQTT broker to use SSL? The various options for moquette described in the myController configuration do not change its initialization.. (I guess I'll create a separate question on this topic )
  • SSL real Certeficate ERR_SSL_VERSION_OR_CIPHER_MISMATCH

    4
    0 Votes
    4 Posts
    212 Views
    C
    @jkandasa This link helped, it turns out you had to choose the .p12 format. Add this to FAQ Senks.
  • Exporting and downloading data.

    2
    0 Votes
    2 Posts
    207 Views
    jkandasaJ
    @zoomx sorry for the delayed response. No, you can not download it from web UI.
  • 8Gb pi4 now available

    1
    1 Votes
    1 Posts
    188 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Raspberry pi foundation drop 1Gb ram models....

    1
    2 Votes
    1 Posts
    193 Views
    No one has replied
  • How to use CSV export feature?

    4
    0 Votes
    4 Posts
    281 Views
    jkandasaJ
    @BraydenM timestamp is the number of milliseconds that have elapsed since January 1, 1970 at 00:00:00 GMT. Note: In java it is in milliseconds. But in UNIX/Linux it is in seconds. In python, you can convert to date, time by using the function, datetime.datetime.fromtimestamp(1582439517). I believe it should be seconds. So you have to do, received timestamp / 1000 = in seconds https://docs.python.org/3/library/datetime.html#datetime.date.fromtimestamp I was unframiliar with what JSON were as I've never used java. JSON is not a java specific. We can use it most of the languages. Examples in Python, https://docs.python.org/3/library/json.html
  • Arduino IDE 1.8.12 now available for download.

    1
    1 Votes
    1 Posts
    137 Views
    No one has replied
  • High Pressure.....

    3
    1 Votes
    3 Posts
    197 Views
    skywatchS
    @jkandasa BME280. From this I get graphs of atmospheric pressure, temperature, humidity, dew point and a forecast of the weather to come. Here is the full view..... [image: 1579599081305-wx.jpg]

0

Online

556

Users

525

Topics

3.4k

Posts