changed P1 article and links

blakadder 2019-11-02 00:15:48 +01:00
parent fd23f10253
commit 79cae57430
4 changed files with 40 additions and 16 deletions

@ -1,5 +1,30 @@
Command|Parameters **»6.6.0.4**
:---|:---
Buzzer<a id="Buzzer"></a>|`0` = stop active buzzer cycle &emsp;» v6.6.0.18<BR>`<count>,<beep>,<silence>,<tune>` - all parameters are optional. &emsp;» v6.6.0.4 <br>*(default is one 100 millisecond beep (`1` for `<count>`, `<beep>`, and `<silence>`))*.<BR><BR>`<tune>` is a 32-bit [bitmask](https://en.wikipedia.org/wiki/Mask_(computing)#Masking_bits_to_1) where a `1` bit beeps and a `0` bit is silence according to `<beep>` and `<silence>`, respectively. The tune is played from most significant bit (MSB) to least significant bit (LSB). Leading and trailing `0` bits are ignored. If `<tune>` is specified, `<count>` is ignored. If `<tune>` is `0`, it is ignored.<BR>`3` - Beep three times with 100 milliseconds duration and 100 milliseconds pause<BR>`2,3` - Beep twice with 300 milliseconds duration and 100 milliseconds pause<BR>`2,3,4` - Beep twice with 300 milliseconds duration and 400 milliseconds pause<BR>`1,2,3,0xF54` (0000 0000 0000 0000 0000 1111 0101 0100). Each `1` bit beeps for 200 milliseconds and each bounded `0` bit pauses for 300 milliseconds
>**A device LED can be assigned as a `Buzzer` component to display a blink pattern.** Tasmota gives you the option to control the sound pattern of a buzzer.
**A device LED can be assigned as a `Buzzer` component to display a blink pattern.**
## Buzzer command
Parameters for the `Buzzer` command can be
`<count>,<beep>,<silence>,<tune>`
all parameters are optional. *(default is `1,1,1` (one 100 millisecond beep))*.
`<count>`
number of beeps
`<beep>`
duration of one beep in 100 millisecond steps
`<silence>`
duration of silence between beeps 100 millisecond steps
`<tune>`
is a 32-bit [bitmask](https://en.wikipedia.org/wiki/Mask_(computing)#Masking_bits_to_1) where a `1` bit beeps and a `0` bit is silence according to `<beep>` and `<silence>`, respectively. The tune is played from most significant bit (MSB) to least significant bit (LSB). Leading and trailing `0` bits are ignored. If `<tune>` is specified, `<count>` is ignored. If `<tune>` is `0`, it is ignored.
Examples:
`3` - Beep three times with 100 milliseconds duration and 100 milliseconds pause<BR>
`2,3` - Beep twice with 300 milliseconds duration and 100 milliseconds pause<BR>`2,3,4` - Beep twice with 300 milliseconds duration and 400 milliseconds pause<BR>`1,2,3,0xF54` (0000 0000 0000 0000 0000 1111 0101 0100). Each `1` bit beeps for 200 milliseconds and each bounded `0` bit pauses for 300 milliseconds
`0` = stop active buzzer cycle &emsp;» v6.6.0.18

@ -6,20 +6,17 @@ In this example the Kaifa MA105C meter is used and might work with other meters
The transistor makes sure that the RxD signal is converted and inverted to 3.3v The transistor makes sure that the RxD signal is converted and inverted to 3.3v
## Tasmota Configuration ### Tasmota Configuration
In the Configuration -> Configure Module page, select the following: In the **Configuration -> Configure Module** page, select module `**Generic (18)**`
* Module Type : 18 Generic From the web console set the serial delimiter to 10 (newline). This makes Tasmota publish each line of the telegram separately to mqtt.
## Tasmota Commands
From the web console set the serial delimiter to 10 (newline). This makes tasmota publish each line of the telegram separately to mqtt.
```SerialDelimiter 10``` ```SerialDelimiter 10```
```SerialSend``` ```SerialSend```
## Example output ### Example output
Below an example of the telegram message published (per line) to mqtt. From here your HA system can process the data required for your needs. Below an example of the telegram message published (per line) to mqtt. From here your HA system can process the data required for your needs.
``` ```
@ -51,7 +48,8 @@ Below an example of the telegram message published (per line) to mqtt. From here
16:59:40 MQT: tele/wemos-9/RESULT = {"SerialReceived":"!EE58"} 16:59:40 MQT: tele/wemos-9/RESULT = {"SerialReceived":"!EE58"}
``` ```
## Description of each line (see also [DSMR 5.0 - P1 Companion Standard](https://www.netbeheernederland.nl/_upload/Files/Slimme_meter_15_a727fce1f1.pdf)) ### Description of each line
see also [DSMR 5.0 - P1 Companion Standard](https://www.netbeheernederland.nl/_upload/Files/Slimme_meter_15_a727fce1f1.pdf)
``` ```
Header information - {"SerialReceived":"/KFM5KAIFA-METER"} Header information - {"SerialReceived":"/KFM5KAIFA-METER"}

@ -4,7 +4,7 @@ You can connect peripherals (sensors, displays, switches, LED lights, ...) to av
More about [general configuration](https://github.com/arendst/Tasmota/wiki/Sensor-Configuration). More about [general configuration](https://github.com/arendst/Tasmota/wiki/Sensor-Configuration).
*Some of the articles were written originally for D1 mini but the information still applies except the wiring instructions* *Some of the articles were written originally for D1 mini but the information still applies except the wiring instructions*
- [**ADC**](ADC) - analog input over A0 pin - [**ADC**](ADC) - Analog input over A0 pin
- **ADS1x15** - A/D Converter (I<sup>2</sup>C) - **ADS1x15** - A/D Converter (I<sup>2</sup>C)
- [**AM312**](PIR-Motion-Sensors#AM312) - PIR Motion Sensor<img src="https://i.postimg.cc/qRLyPy1n/APDS-9960-1-720x533.jpg" align=right> - [**AM312**](PIR-Motion-Sensors#AM312) - PIR Motion Sensor<img src="https://i.postimg.cc/qRLyPy1n/APDS-9960-1-720x533.jpg" align=right>
- [**APDS-9960**](APDS-9960) - Ambient Light, RGB Color and Proximity Sensor with Gesture Detection - [**APDS-9960**](APDS-9960) - Ambient Light, RGB Color and Proximity Sensor with Gesture Detection
@ -13,9 +13,10 @@ More about [general configuration](https://github.com/arendst/Tasmota/wiki/Senso
- [**BME280 (BMP085, BMP180, BMP280, BME280)**](Wemos-D1-Mini-and-BME280-Temperature,-Humidity-and-Pressure-Sensor) - Temperature, Humidity and Pressure Sensor - [**BME280 (BMP085, BMP180, BMP280, BME280)**](Wemos-D1-Mini-and-BME280-Temperature,-Humidity-and-Pressure-Sensor) - Temperature, Humidity and Pressure Sensor
- [Sonoff Basic Wiring](BME280-Temperature,-Humidity-and-Pressure-Sensor-and-Sonoff-Basic-with-Tasmota) - [Sonoff Basic Wiring](BME280-Temperature,-Humidity-and-Pressure-Sensor-and-Sonoff-Basic-with-Tasmota)
- [**BME680**](Wemos-D1-Mini-and-BME680-Temperature,-Humidity,-Pressure-and-Gas-Sensor) - Temperature, Humidity, Pressure and Gas Sensor - [**BME680**](Wemos-D1-Mini-and-BME680-Temperature,-Humidity,-Pressure-and-Gas-Sensor) - Temperature, Humidity, Pressure and Gas Sensor
- [**Buzzer**](Buzzer) - Audio Signalling Device
- [**CC2530**](Zigbee) - Zigbee Adapter (Serial) - [**CC2530**](Zigbee) - Zigbee Adapter (Serial)
- **CCS811** - Gas and Air Quality sensor (I<sup>2</sup>C) - **CCS811** - Gas and Air Quality sensor (I<sup>2</sup>C)
- [**Chirp! Soil Moisture Sensor**](Moisture-Sensor-and-Chirp!-Sensor) - (I<sup>2</sup>C) - [**Chirp! Soil Moisture Sensor**](Moisture-Sensor-and-Chirp!-Sensor) - Moisture Sensor (I<sup>2</sup>C)
- [**DHT11**](Wemos-D1-Mini-and-DHT11-Shield-Humidity-&-Temperature) - Humidity & Temperature Sensor<img src="https://user-images.githubusercontent.com/5904370/53279561-cfb18480-3711-11e9-9889-76ab1d6eafcb.png" width="250" align="right"> - [**DHT11**](Wemos-D1-Mini-and-DHT11-Shield-Humidity-&-Temperature) - Humidity & Temperature Sensor<img src="https://user-images.githubusercontent.com/5904370/53279561-cfb18480-3711-11e9-9889-76ab1d6eafcb.png" width="250" align="right">
- [Sonoff Basic wiring](DHT11-Wiring---Sonoff-Basic) - [Sonoff Basic wiring](DHT11-Wiring---Sonoff-Basic)
- [**DHT22 (DHT21, AM2301, AM2302, AM2321)**](Wemos-D1-Mini-and-DHT22-(DHT21,-AM2301,-AM2302,-AM2321)-Shield-Humidity-&-Temperature) - Humidity & Temperature Sensor - [**DHT22 (DHT21, AM2301, AM2302, AM2321)**](Wemos-D1-Mini-and-DHT22-(DHT21,-AM2301,-AM2302,-AM2321)-Shield-Humidity-&-Temperature) - Humidity & Temperature Sensor
@ -40,7 +41,7 @@ More about [general configuration](https://github.com/arendst/Tasmota/wiki/Senso
- **MLX90614** - MLX IR Temperature sensor (I<sup>2</sup>C) - **MLX90614** - MLX IR Temperature sensor (I<sup>2</sup>C)
- [**MPR121**](MPR121) - Proximity Capacitive Touch Sensor Controller (I<sup>2</sup>C) - [**MPR121**](MPR121) - Proximity Capacitive Touch Sensor Controller (I<sup>2</sup>C)
- **MPU6050** - 3-Axis Gyroscope and 3-Axis Accelerometer sensor (I<sup>2</sup>C) - **MPU6050** - 3-Axis Gyroscope and 3-Axis Accelerometer sensor (I<sup>2</sup>C)
- [**P1 Energy Meter**](https://github.com/arendst/Tasmota/wiki/Wemos-D1-Mini-and-P1-Energy-Meter) - [**P1 Smart Meter**](P1-Smart-Meter) - Energy Meter (serial)
- [**PAJ7620**](PAJ7620) - Gesture & Proximity Detection Sensor - [**PAJ7620**](PAJ7620) - Gesture & Proximity Detection Sensor
- [**PCA9685**](PCA9685) - 16-channel, 12-bit PWM LED controller (I<sup>2</sup>C) - [**PCA9685**](PCA9685) - 16-channel, 12-bit PWM LED controller (I<sup>2</sup>C)
- **PCF8574** 8-port I\/O Expander (I<sup>2</sup>C) - **PCF8574** 8-port I\/O Expander (I<sup>2</sup>C)

@ -34,7 +34,7 @@
- **MLX90614** MLX IR Temperature sensor (I<sup>2</sup>C) - **MLX90614** MLX IR Temperature sensor (I<sup>2</sup>C)
- [**MPR121**](MPR121) Proximity Capacitive Touch Sensor Controller (I<sup>2</sup>C) - [**MPR121**](MPR121) Proximity Capacitive Touch Sensor Controller (I<sup>2</sup>C)
- **MPU6050** 3-Axis Gyroscope and 3-Axis Accelerometer sensor (I<sup>2</sup>C) - **MPU6050** 3-Axis Gyroscope and 3-Axis Accelerometer sensor (I<sup>2</sup>C)
- [**P1 Energy Meter**](https://github.com/arendst/Tasmota/wiki/Wemos-D1-Mini-and-P1-Energy-Meter) - [**P1 Energy Meter**](https://github.com/arendst/Tasmota/wiki/P1-Smart-Meter)
- [**PAJ7620**](PAJ7620) Gesture & Proximity Detection Sensor - [**PAJ7620**](PAJ7620) Gesture & Proximity Detection Sensor
- [**PCA9685**](PCA9685) 16-channel, 12-bit PWM LED controller (I<sup>2</sup>C) - [**PCA9685**](PCA9685) 16-channel, 12-bit PWM LED controller (I<sup>2</sup>C)
- **PCF8574** 8-port I\/O Expander (I<sup>2</sup>C) - **PCF8574** 8-port I\/O Expander (I<sup>2</sup>C)