Besoin d'aide pour démarrer : Compiler la gateway

Forum dédie aux capteurs et gateway mysensors.org
rebel59540
Messages : 56
Inscription : 23 févr. 2017, 15:10

Re: Besoin d'aide pour démarrer : Compiler la gateway

Message par rebel59540 »

bonjour quelqu'un a trouver car moi j'ais pas d'erreur mais jais se message quand je vérifie
ATTENTION : Faux .mystools dossier dans la bibliothèque 'MySensors'
une âme sympas pourrer me dire pourquoi merci
krypton
Messages : 1
Inscription : 25 mai 2017, 10:44

Re: Besoin d'aide pour démarrer : Compiler la gateway

Message par krypton »

Meme message pour moi :
ATTENTION : Faux .mystools dossier dans la bibliothèque 'MySensors'
Config :
MacOS X El Capitan
Arduino 1.8.2
MySensors 2.1

Quelqu'un a-t-il résolu le probleme ?
DANIEL
Messages : 148
Inscription : 09 avr. 2016, 10:01

Re: Besoin d'aide pour démarrer : Compiler la gateway

Message par DANIEL »

Bonjour,

Je me lance dans la mise en place de MY-SENSORS sur mon Domoticz.
Pour démarrer simplement et tester, je débute par deux sondes de température.
Je ne trouve pas dans la liste des exemple de sonde de température alors que c'est la base.
J'ai donc chargé le programme sur le site de MY-SENSOR
j'utilise un Arduino uno pour la GATEWAY et un ARDUINO PRO MINI pour mon premier Sensor.
J'ai téléverser le programme dans la GATEWAY sans probléme, par contre je n'arrive pas à téléverser dans l'Arduino Pro Mini le programme de la sonde de température.
Lorsque je fais vérifier le programme sans même le téléverser j'ai le message d'erreur suivant.

Compilation termined
exit status 1
Erreur de compilation pour carte Arduino Pro or Pro Mini

Dans outil du logiciel Arduino j'ai programmé:

Type de carte " Arduino Pro ou Mini Pro" (j'ai essayé également Nano même résultat)
Processeur " ATmega328(5V,16MHz) (j'ai essayé les autres possibilités même résultat)
AVR ISP ( ici je ne sais pas trop)

Si une âme charitable pouvait me conseiller.

Daniel
digdogger
Messages : 213
Inscription : 16 juil. 2017, 09:21

Re: Besoin d'aide pour démarrer : Compiler la gateway

Message par digdogger »

Salut Daniel, tu aurais du ouvrir un autre sujet concernant ton problème.
Attention aux mini pro achetés en Chine. Parfois, il n'ont pas de bootloader (j'ai déjà eu le cas).
Dans ce cas, c'est à toi de le programmer par le bus SPI. Tuto à suivre ici: https://www.arduino.cc/en/Hacking/MiniBootloader
Raspberry Pi 3 + Raspbian Jessie Lite + Domoticz V4.9700 - RFlink USB V48 433.42MHz - Volets Somfy RTS - MySensors USB V2.1.1 - IDE Arduino 1.8.8
digdogger
Messages : 213
Inscription : 16 juil. 2017, 09:21

Re: Besoin d'aide pour démarrer : Compiler la gateway

Message par digdogger »

krypton a écrit :Meme message pour moi :
ATTENTION : Faux .mystools dossier dans la bibliothèque 'MySensors'
Config :
MacOS X El Capitan
Arduino 1.8.2
MySensors 2.1

Quelqu'un a-t-il résolu le probleme ?
Pas de problème chez moi sur Windows 10 avec ce code et même arduino et mysensor que toi:

Code : Tout sélectionner

/**
* The MySensors Arduino library handles the wireless radio link and protocol
* between your home built sensors/actuators and HA controller of choice.
* The sensors forms a self healing radio network with optional repeaters. Each
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
* network topology allowing messages to be routed to nodes.
*
* Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
* Copyright (C) 2013-2015 Sensnology AB
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
*
* Documentation: http://www.mysensors.org
* Support Forum: http://forum.mysensors.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
*******************************
*
* DESCRIPTION
* The ArduinoGateway prints data received from sensors on the serial link.
* The gateway accepts input on seral which will be sent out on radio network.
*
* The GW code is designed for Arduino Nano 328p / 16MHz
*
* Wire connections (OPTIONAL):
* - Inclusion button should be connected between digital pin 3 and GND
* - RX/TX/ERR leds need to be connected between +5V (anode) and digital pin 6/5/4 with resistor 270-330R in a series
*
* LEDs (OPTIONAL):
* - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved
* - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
* - ERR (red) - fast blink on error during transmission error or recieve crc error
*
*/

// Enable debug prints to serial monitor
//#define MY_DEBUG


// Enable and select radio type attached
#define MY_RADIO_NRF24
//#define MY_RADIO_RFM69

// Set LOW transmit power level as default, if you have an amplified NRF-module and
// power your radio separately with a good regulator you can turn up PA level.
#define MY_RF24_PA_LEVEL RF24_PA_MAX

// Enable serial gateway
#define MY_GATEWAY_SERIAL

// Define a lower baud rate for Arduino's running on 8 MHz (Arduino Pro Mini 3.3V & SenseBender)
#if F_CPU == 8000000L
#define MY_BAUD_RATE 38400
#endif

// Enable inclusion mode
#define MY_INCLUSION_MODE_FEATURE
// Enable Inclusion mode button on gateway
//#define MY_INCLUSION_BUTTON_FEATURE

// Inverses behavior of inclusion button (if using external pullup)
//#define MY_INCLUSION_BUTTON_EXTERNAL_PULLUP

// Set inclusion mode duration (in seconds)
#define MY_INCLUSION_MODE_DURATION 60
// Digital pin used for inclusion mode button
//#define MY_INCLUSION_MODE_BUTTON_PIN  3

// Set blinking period
#define MY_DEFAULT_LED_BLINK_PERIOD 300

// Inverses the behavior of leds
//#define MY_WITH_LEDS_BLINKING_INVERSE

// Flash leds on rx/tx/err
// Uncomment to override default HW configurations
//#define MY_DEFAULT_ERR_LED_PIN 4  // Error led pin
//#define MY_DEFAULT_RX_LED_PIN  6  // Receive led pin
//#define MY_DEFAULT_TX_LED_PIN  5  // the PCB, on board LED

#include <MySensors.h>

void setup()
{
	// Setup locally attached sensors
}

void presentation()
{
	// Present locally attached sensors
}

void loop()
{
	// Send locally attached sensor data here
}
Résultat:
Sketch uses 10806 bytes (35%) of program storage space. Maximum is 30720 bytes.
Global variables use 651 bytes (31%) of dynamic memory, leaving 1397 bytes for local variables. Maximum is 2048 bytes.
Raspberry Pi 3 + Raspbian Jessie Lite + Domoticz V4.9700 - RFlink USB V48 433.42MHz - Volets Somfy RTS - MySensors USB V2.1.1 - IDE Arduino 1.8.8
Répondre