Send preformatted hexadecimal strings via `ip notify`

Same issue as laurent.wagneur (original post: Sending bytes using ipnotify)

It seem impossible in my case to send preformatted hexadecimal strings to my SIEMENS LOGO! to interact with mementos via IP Notify.

Example string: \x00\x01\x00\x00\x00\x06\x01\x05\x20\x40\xFF\x00
Yet the same string can be sent without any difficulty via the command line or Python.

Mobotix’s response to my ticket:

Bonjour,

je viens de recevoir la confirmation du service R&D que l'envoi de telles données n'est pas supporté.

Cordialement / Kind regards

MOBOTIX AG • BeyondHumanVision • www.mobotix.com

My solution:

A tinny TCP/IP → MODBUS bridge using an Olimex ESP32-POE (code on GITHUB).

Features:

  • Asynchronous handling of HTTP requests → Modbus frames
  • Hardcoded Basic auth for administration (change it by yourself before compilation)
  • Basic auth for cameras ip notify (configurable setting)
  • List of authorised IP cameras (configurable setting)
  • Reset to default button on board
  • Setup of configurable settings by HTTP requests like:
    device ip:port/set?user=value&password=value&….
  • See the full list of features on github

Kind regards,
Louitch