plugin-icon

Alerts via MQQT for WooCommerce

제작자: yknivag·
MQTT Alerts for WooCommerce
버전
0.2.2
최근 업데이트일
Jun 26, 2020

MQTT Alerts for WooCommerce

Plugin to WooCommerce which sends messages to a shiftr.io MQTT instance on order state changes and for low stock/out of stock nofifications.

The following topics are published to MQTT: * {topic_prefix}/orders/pending * {topic_prefix}/orders/on-hold * {topic_prefix}/orders/processing * {topic_prefix}/orders/completed * {topic_prefix}/orders/cancelled * {topic_prefix}/orders/refunded * {topic_prefix}/orders/failed * {topic_prefix}/stock/low * {topic_prefix}/stock/out * {topic_prefix}/stats/orders * {topic_prefix}/stats/stock [COMING SOON]

A message is published to a topic when an order or product transitions to that state. The payload of the message is either the order id or the product_id.

The data transmitted is kept to the bear minimum to limit the data exposure over MQTT. Further information may be retrieved by the end point using the standard WooCommerce API by querying the order or product by id.

The stats topics are published to each time any other message is sent. They contain a JSON payload which for orders is an array of order states with the corresponding totals. Further stats topics are in the to-do list.

MQTT may be used to feed many different devices and services. For example the feed could be consumed by NodeRed, Home Assistant or, of course, an Arduino. Sample Arduino sketches may be found at https://github.com/yknivag/WooNofity-Arduino – more sketches will be added in due course.

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 5.4.18
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.