Giter VIP home page Giter VIP logo

Comments (7)

roblad avatar roblad commented on July 20, 2024

You can add

//STB mod
#define D_MOISTURE "Wilgoc"
#define D_DISTANCE "Odleglosc"
//end

it is for that 👍 Plant Watering Alarm
https://wemakethings.net/chirp/
?

that

//STB mod
GPIO_SEN_TRIG,
GPIO_SEN_ECHO,
GPIO_REL1_TOG_A,
GPIO_REL1_TOG_B,
GPIO_REL2_TOG_A,
GPIO_REL2_TOG_B,
//end

not exists in lang pack
What is these 2 first lines ?

Ia ma not able to find "Configure PCF8574"
I add
#define D_CONFIGURE_PCF8574 "Configure PCF8574"
PL
#define D_CONFIGURE_PCF8574 "Konfiguruj PCF8574"

( ---

" D_CONFIGURE_LOGGING "---)

When no relay1 configured these button options does not exists:

https://github.com/arendst/Sonoff-Tasmota/wiki/Button-usage

when relay is configured button usage works

I updated script for wemeos D1 pro esp8266.flash.16m.ld

/* Flash Split for 16M chips /
/
sketch 999KB /
/
eeprom 20KB /
/
spiffs 15MB */

MEMORY
{
dport0_0_seg : org = 0x3FF00000, len = 0x10
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40201010, len = 0xfeff0
}

PROVIDE ( _SPIFFS_start = 0x402FB000 );
PROVIDE ( _SPIFFS_end = 0x402FB000 );
PROVIDE ( _SPIFFS_page = 0x100 );
PROVIDE ( _SPIFFS_block = 0x2000 );

INCLUDE "esp8266.flash.common.ld"

And updated config for DS

[env:wemeos-ds18x20-PL]
platform = espressif8266
framework = arduino
board = d1_mini
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.16m.ld -DMQTT_MAX_PACKET_SIZE=707 -DUSE_DS18x20 -DMESSZ=600 -DMY_LANGUAGE=pl-PL
lib_deps = PubSubClient,NeoPixelBus, ArduinoJSON, IRremoteESP8266, i2cdevlib-ADS1115, OneWire
upload_speed = 115200
; Serial Monitor options
monitor_baud = 115200

from sonoff-tasmota.

stefanbode avatar stefanbode commented on July 20, 2024

Thanks for your input. Added the PL language info. Yes, the CHIRP is the one you mentioned. It works really well as a moisture sensor. Also added your configuration to the platform.ini. I do no know how and where to add the change in the board configuration.

GPIO_SEN_TRIG,
GPIO_SEN_ECHO, are for the HR-SR04 ultrasonic distance measure.

The other 4 are not used currently, They are planned for motors that need inverse voltage and therefore need two operating relays. Valid input is then -1 | 0 | 1 for backward, stop, forward.

from sonoff-tasmota.

roblad avatar roblad commented on July 20, 2024

Hi,

Do you have any place where can I buy it (chip ofcource :-)) CHIRP - it will solve my one configuration in the garden :-)

from sonoff-tasmota.

stefanbode avatar stefanbode commented on July 20, 2024

I got mine from tindie. I found no cheaper place to by the ESP version

https://www.tindie.com/products/miceuz/i2c-soil-moisture-sensor/

from sonoff-tasmota.

roblad avatar roblad commented on July 20, 2024

What is a price to send to you ? Maybe you have some chiper site :-), we do not have EU salaries :-)

from sonoff-tasmota.

stefanbode avatar stefanbode commented on July 20, 2024

Moisture measurement is quite difficult AND expensive if you want to make it reliable and get some values, that makes sense. The CHIRP is presented to me at 13USD+shipping. It has really good values, that really matches the real situation. There is also analog version: https://de.aliexpress.com/item/DFRobot-Capacitive-Analog-Soil-Moisture-Sensor-3-3-5-5V-Corrosion-Resistant-with-Gravity-3-Pin/32574020064.htm This is 8USD+shipping. It is also not bad in the beginning, but have problems after 9 months outdoor. Even using plastic spray and shrink tubes to protect the circuit board. If you search for professional compensated moisture sensors they start at 80USD. Everything that is not capacitive, just do not order. This is just for playing.

from sonoff-tasmota.

roblad avatar roblad commented on July 20, 2024

Hi,

This CHIRP you send is pure and not i2c, maybe I will order thhat previous :-)

What measure I can do on that one - TEMP, MOISURE, LUX ?

I compiled your new version and uploaded through www, right now I did not noticed any issue :-)

from sonoff-tasmota.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.