Welcome, Guest
Username: Password: Remember me
In this category you can discuss how to connect a third party software (loggers, CW Skimmer etc.) or devices to ExpertSDR3.

TOPIC: TCI-MQTT Gateway (for Qt6 QML programmers)

TCI-MQTT Gateway (for Qt6 QML programmers) 27 Mar 2021 18:29 #1

  • VK6NX
  • VK6NX's Avatar
  • OFFLINE
  • Posts: 249
  • Thank you received: 197
There are two issues I have found when decided to port my TCI-integrated homebrew Log to Qt6 QML:
1. There is no Websockets in Qt6 yet (those are in porting queue with ETA mid-late 2021). Websockets are the prerequisite for TCI in Qt,
2. There is no C++ integration into QML for TCI yet, and ETA is unknown, due to EE is full busy with ESDR3 now (understandable and appreciated).

Of course, of course... the potential workaround is beer, more beer and a bit more beer, then >> and after reload:
a) use Websockets of Qt5 (I was trying it for a week ... then cry Roman a river :)) and
b) surely - you can develop your own C++/QML integration for TCI. (I have looked at latest TCI library and ... :hi: )

But ... still wanted to port my Log to Qt6 with TCI...

The workaround we found and developed with colleague of mine VK3FDMI is what we have called "TCI - MQTT Gateway". Yep, it does what is says - connects to ESDR via TCI and translates all TCI traffic into MQTT subscribe/publish JSON topics. Which can be - e-e-easily integrated into QML via qtmqtt.

Tested. Working. Still WIP, as we did at this stage only integration of the TCI commands, which are needed for my Log project. But we are getting there :mrgreen:

Can be found on Github.
Last Edit: 27 Mar 2021 19:03 by VK6NX.
The administrator has disabled public write access.

TCI-MQTT Gateway (for Qt6 QML programmers) 27 Mar 2021 19:27 #2

  • EI9HEB
  • EI9HEB's Avatar
  • OFFLINE
  • Posts: 46
  • Thank you received: 15
Pavel,
I love the idea of TCI and MQTT this open loads of new possibilities.
I could integrate EB500 that way.
The only issue I have is how to find the time for all of them projects :(
At the moment I'm playing with Enzo iw7dmh TCI library for ESP _ works grate :D

I had plans to build the tuner with a roller inductor and vacuum capacitor but time force me to buy a ready product.
I have purchased a mAT-1500 which is a traditional relay type it works great, but I think about some modification.

Regards
Pawel
EI9HEB/SP9DR
How do you VooDoo?
Last Edit: 27 Mar 2021 19:41 by EI9HEB.
The administrator has disabled public write access.

TCI-MQTT Gateway (for Qt6 QML programmers) 10 Jul 2021 09:04 #3

  • VK6NX
  • VK6NX's Avatar
  • OFFLINE
  • Posts: 249
  • Thank you received: 197
Version for ESDR3 / TCI 1.5 can be found here: github.com/VK6NX/tci-mqtt-gateway

According to Roman, at this stage there will not be backward compatibility for all TCI commands. For example, DRIVE and TUNE_DRIVE in TCI 1.5 have extra Arg.
To simplify - at current moment and until ESDR3 will become Release with fully updated TCI, we have to support two versions: for ESDR2/TCI 1.4 and ESDR3
/TCI 1.5(and upward)
The administrator has disabled public write access.
The following user(s) said Thank You: ok2pku
Time to create page: 1.041 seconds