zivillian / ora2mqtt

GWM ORA Funky Cat to MQTT Bridge
14 stars 2 forks source link

Where can I find the command line application? #12

Closed holger1414 closed 3 months ago

holger1414 commented 6 months ago

Hello!

I would like to try your development, but documentation is difficult to follow :) Where is the command line application that is mentioned.

Thank you very much for help!

gratefulUser1 commented 6 months ago

You can find and download the binaries from the releases section. Otherwise you need to clone the repo and build the binaries yourself.

holger1414 commented 6 months ago

Thank you! I will try it out :)

holger1414 commented 6 months ago

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

gratefulUser1 commented 6 months ago

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ . You are receiving this because you commented.Message ID: @.***>

holger1414 commented 6 months ago

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM . You are receiving this because you authored the thread.Message ID: @.***>

gratefulUser1 commented 6 months ago

Which operating system do you intend to use? Here is the general basic steps you need to take:

  1. Make sure you have an account for the Ora App on your mobile device.

  2. Download the binaries for the ora2mqtt app.

  3. Run the 'ora2mqtt(.exe) -configure' command from the binaries.

  4. Input your credentials from the account (and MQTT server if applicable). The configure command should complete successfully (you need to input a PIN which you receive on the email address of your account).

  5. On windows: Now simply run the 'ora2mqtt.exe -i 30 -run' command.

The app will disconnect after a while (hours/days). You should wrap it in a batch file on windows to restart after every disconnect as a workaround for now.

On Linux: Follow the steps described in the README.md of this repo.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 08:07:

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095255570, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQVVH6G7LFXDJHUL4TEC53ZA4M3DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TKNJXGA . You are receiving this because you commented.Message ID: @.***>

holger1414 commented 6 months ago

Thank you for the steps!

I downloaded the https://github.com/zivillian/ora2mqtt/releases/download/v0.0.1/ora2mqtt-win-x64.zip Extracted everything and tried the command in administrator command prompt. I get the following error:

============== C:\Users\Holger\Downloads\ora2mqtt-win-x64>ora2mqtt.exe -configure config file (onfigure) missing

Now what?

(I sent some beer/coffe money your way!! :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 14:05:

Which operating system do you intend to use? Here is the general basic steps you need to take:

  1. Make sure you have an account for the Ora App on your mobile device.

  2. Download the binaries for the ora2mqtt app.

  3. Run the 'ora2mqtt(.exe) -configure' command from the binaries.

  4. Input your credentials from the account (and MQTT server if applicable). The configure command should complete successfully (you need to input a PIN which you receive on the email address of your account).

  5. On windows: Now simply run the 'ora2mqtt.exe -i 30 -run' command.

The app will disconnect after a while (hours/days). You should wrap it in a batch file on windows to restart after every disconnect as a workaround for now.

On Linux: Follow the steps described in the README.md of this repo.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 08:07:

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095255570,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BBQVVH6G7LFXDJHUL4TEC53ZA4M3DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TKNJXGA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095755347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVDBBUN2UXNMIVSGR6TZA5PX3AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVG42TKMZUG4 . You are receiving this because you authored the thread.Message ID: @.***>

gratefulUser1 commented 6 months ago

Try 'ora2mqtt.exe configure'. Just omit the dash. Same for the 'run' command.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 16:30:

Thank you for the steps!

I downloaded the

https://github.com/zivillian/ora2mqtt/releases/download/v0.0.1/ora2mqtt-win-x64.zip Extracted everything and tried the command in administrator command prompt. I get the following error:

============== C:\Users\Holger\Downloads\ora2mqtt-win-x64>ora2mqtt.exe -configure config file (onfigure) missing

Now what?

(I sent some beer/coffe money your way!! :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 14:05:

Which operating system do you intend to use? Here is the general basic steps you need to take:

  1. Make sure you have an account for the Ora App on your mobile device.

  2. Download the binaries for the ora2mqtt app.

  3. Run the 'ora2mqtt(.exe) -configure' command from the binaries.

  4. Input your credentials from the account (and MQTT server if applicable). The configure command should complete successfully (you need to input a PIN which you receive on the email address of your account).

  5. On windows: Now simply run the 'ora2mqtt.exe -i 30 -run' command.

The app will disconnect after a while (hours/days). You should wrap it in a batch file on windows to restart after every disconnect as a workaround for now.

On Linux: Follow the steps described in the README.md of this repo.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 08:07:

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095255570>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH6G7LFXDJHUL4TEC53ZA4M3DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TKNJXGA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095755347,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ATVFNVDBBUN2UXNMIVSGR6TZA5PX3AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVG42TKMZUG4>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096177643, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQVVH2UUQTZNFSW5SOLAZ3ZA6HZ5AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGE3TONRUGM . You are receiving this because you commented.Message ID: @.***>

gratefulUser1 commented 6 months ago

BTW: I am not the author of this software. But I fully agree you should send him some :coffee: :beers: :)

holger1414 commented 6 months ago

Configuration successful! However, I see no relevant traffic in mMQTT Explorer. What might be the problem now?

It connects to the broker.

2024-05-06 18:13:35: New client connected from 192.168.1.66:49965 as 0650ede2164048b8a95d2c231c7ef984 (p2, c1, k15, u'MQTTmaakler'). 2024-05-06 18:14:13: Client 0650ede2164048b8a95d2c231c7ef984 closed its connection.

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 17:44:

Try 'ora2mqtt.exe configure'. Just omit the dash. Same for the 'run' command.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 16:30:

Thank you for the steps!

I downloaded the

https://github.com/zivillian/ora2mqtt/releases/download/v0.0.1/ora2mqtt-win-x64.zip Extracted everything and tried the command in administrator command prompt. I get the following error:

============== C:\Users\Holger\Downloads\ora2mqtt-win-x64>ora2mqtt.exe -configure config file (onfigure) missing

Now what?

(I sent some beer/coffe money your way!! :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 14:05:

Which operating system do you intend to use? Here is the general basic steps you need to take:

  1. Make sure you have an account for the Ora App on your mobile device.

  2. Download the binaries for the ora2mqtt app.

  3. Run the 'ora2mqtt(.exe) -configure' command from the binaries.

  4. Input your credentials from the account (and MQTT server if applicable). The configure command should complete successfully (you need to input a PIN which you receive on the email address of your account).

  5. On windows: Now simply run the 'ora2mqtt.exe -i 30 -run' command.

The app will disconnect after a while (hours/days). You should wrap it in a batch file on windows to restart after every disconnect as a workaround for now.

On Linux: Follow the steps described in the README.md of this repo.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 08:07:

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095255570>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH6G7LFXDJHUL4TEC53ZA4M3DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TKNJXGA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095755347>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVDBBUN2UXNMIVSGR6TZA5PX3AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVG42TKMZUG4>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096177643,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BBQVVH2UUQTZNFSW5SOLAZ3ZA6HZ5AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGE3TONRUGM>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096205514, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVAAQUJBP7AF3XOHPJTZA6JLTAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGIYDKNJRGQ . You are receiving this because you authored the thread.Message ID: @.***>

gratefulUser1 commented 6 months ago

I assume it's something in the configuration of your MQTT broker. Try to listen to GWM/# an try to play around with your config. Hard to tell from remote.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 17:19:

Configuration successful! However, I see no relevant traffic in mMQTT Explorer. What might be the problem now?

It connects to the broker.

2024-05-06 18:13:35: New client connected from 192.168.1.66:49965 as 0650ede2164048b8a95d2c231c7ef984 (p2, c1, k15, u'MQTTmaakler'). 2024-05-06 18:14:13: Client 0650ede2164048b8a95d2c231c7ef984 closed its connection.

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 17:44:

Try 'ora2mqtt.exe configure'. Just omit the dash. Same for the 'run' command.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 16:30:

Thank you for the steps!

I downloaded the

https://github.com/zivillian/ora2mqtt/releases/download/v0.0.1/ora2mqtt-win-x64.zip

Extracted everything and tried the command in administrator command prompt. I get the following error:

============== C:\Users\Holger\Downloads\ora2mqtt-win-x64>ora2mqtt.exe -configure config file (onfigure) missing

Now what?

(I sent some beer/coffe money your way!! :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 14:05:

Which operating system do you intend to use? Here is the general basic steps you need to take:

  1. Make sure you have an account for the Ora App on your mobile device.

  2. Download the binaries for the ora2mqtt app.

  3. Run the 'ora2mqtt(.exe) -configure' command from the binaries.

  4. Input your credentials from the account (and MQTT server if applicable). The configure command should complete successfully (you need to input a PIN which you receive on the email address of your account).

  5. On windows: Now simply run the 'ora2mqtt.exe -i 30 -run' command.

The app will disconnect after a while (hours/days). You should wrap it in a batch file on windows to restart after every disconnect as a workaround for now.

On Linux: Follow the steps described in the README.md of this repo.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 08:07:

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095255570>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH6G7LFXDJHUL4TEC53ZA4M3DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TKNJXGA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095755347>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVDBBUN2UXNMIVSGR6TZA5PX3AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVG42TKMZUG4>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096177643>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH2UUQTZNFSW5SOLAZ3ZA6HZ5AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGE3TONRUGM>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096205514,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ATVFNVAAQUJBP7AF3XOHPJTZA6JLTAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGIYDKNJRGQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096285312, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQVVH2GCU5L4YJWMC3OHGTZA6NRJAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGI4DKMZRGI . You are receiving this because you commented.Message ID: @.***>

holger1414 commented 6 months ago

Unfortunately nothing... All I can think of, is my app is for baltic market and can not get anything from DE or UK servers. Kinda obvious, but was hoping :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 19:16:

I assume it's something in the configuration of your MQTT broker. Try to listen to GWM/# an try to play around with your config. Hard to tell from remote.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 17:19:

Configuration successful! However, I see no relevant traffic in mMQTT Explorer. What might be the problem now?

It connects to the broker.

2024-05-06 18:13:35: New client connected from 192.168.1.66:49965 as 0650ede2164048b8a95d2c231c7ef984 (p2, c1, k15, u'MQTTmaakler'). 2024-05-06 18:14:13: Client 0650ede2164048b8a95d2c231c7ef984 closed its connection.

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 17:44:

Try 'ora2mqtt.exe configure'. Just omit the dash. Same for the 'run' command.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 16:30:

Thank you for the steps!

I downloaded the

https://github.com/zivillian/ora2mqtt/releases/download/v0.0.1/ora2mqtt-win-x64.zip

Extracted everything and tried the command in administrator command prompt. I get the following error:

============== C:\Users\Holger\Downloads\ora2mqtt-win-x64>ora2mqtt.exe -configure config file (onfigure) missing

Now what?

(I sent some beer/coffe money your way!! :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 14:05:

Which operating system do you intend to use? Here is the general basic steps you need to take:

  1. Make sure you have an account for the Ora App on your mobile device.

  2. Download the binaries for the ora2mqtt app.

  3. Run the 'ora2mqtt(.exe) -configure' command from the binaries.

  4. Input your credentials from the account (and MQTT server if applicable). The configure command should complete successfully (you need to input a PIN which you receive on the email address of your account).

  5. On windows: Now simply run the 'ora2mqtt.exe -i 30 -run' command.

The app will disconnect after a while (hours/days). You should wrap it in a batch file on windows to restart after every disconnect as a workaround for now.

On Linux: Follow the steps described in the README.md of this repo.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 08:07:

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095255570>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH6G7LFXDJHUL4TEC53ZA4M3DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TKNJXGA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095755347>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVDBBUN2UXNMIVSGR6TZA5PX3AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVG42TKMZUG4>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096177643>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH2UUQTZNFSW5SOLAZ3ZA6HZ5AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGE3TONRUGM>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096205514>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVAAQUJBP7AF3XOHPJTZA6JLTAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGIYDKNJRGQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096285312,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BBQVVH2GCU5L4YJWMC3OHGTZA6NRJAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGI4DKMZRGI>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096421390, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVFYO7NQHSCR5WJDTUDZA6UFLAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGQZDCMZZGA . You are receiving this because you authored the thread.Message ID: @.***>

gratefulUser1 commented 6 months ago

In case you can run the app with the 'ora2mqtt run' command and it does not yield an error, I think it has to be related to your MQTT broker/config. Is the user you sign in allowed to publish on the GWM/ root topic?

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 19:19:

Unfortunately nothing... All I can think of, is my app is for baltic market and can not get anything from DE or UK servers. Kinda obvious, but was hoping :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 19:16:

I assume it's something in the configuration of your MQTT broker. Try to listen to GWM/# an try to play around with your config. Hard to tell from remote.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 17:19:

Configuration successful! However, I see no relevant traffic in mMQTT Explorer. What might be the problem now?

It connects to the broker.

2024-05-06 18:13:35: New client connected from 192.168.1.66:49965 as 0650ede2164048b8a95d2c231c7ef984 (p2, c1, k15, u'MQTTmaakler'). 2024-05-06 18:14:13: Client 0650ede2164048b8a95d2c231c7ef984 closed its connection.

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 17:44:

Try 'ora2mqtt.exe configure'. Just omit the dash. Same for the 'run' command.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 16:30:

Thank you for the steps!

I downloaded the

https://github.com/zivillian/ora2mqtt/releases/download/v0.0.1/ora2mqtt-win-x64.zip

Extracted everything and tried the command in administrator command prompt. I get the following error:

============== C:\Users\Holger\Downloads\ora2mqtt-win-x64>ora2mqtt.exe -configure config file (onfigure) missing

Now what?

(I sent some beer/coffe money your way!! :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 14:05:

Which operating system do you intend to use? Here is the general basic steps you need to take:

  1. Make sure you have an account for the Ora App on your mobile device.

  2. Download the binaries for the ora2mqtt app.

  3. Run the 'ora2mqtt(.exe) -configure' command from the binaries.

  4. Input your credentials from the account (and MQTT server if applicable). The configure command should complete successfully (you need to input a PIN which you receive on the email address of your account).

  5. On windows: Now simply run the 'ora2mqtt.exe -i 30 -run' command.

The app will disconnect after a while (hours/days). You should wrap it in a batch file on windows to restart after every disconnect as a workaround for now.

On Linux: Follow the steps described in the README.md of this repo.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 08:07:

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095255570>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH6G7LFXDJHUL4TEC53ZA4M3DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TKNJXGA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095755347>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVDBBUN2UXNMIVSGR6TZA5PX3AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVG42TKMZUG4>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096177643>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH2UUQTZNFSW5SOLAZ3ZA6HZ5AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGE3TONRUGM>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096205514>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVAAQUJBP7AF3XOHPJTZA6JLTAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGIYDKNJRGQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096285312>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH2GCU5L4YJWMC3OHGTZA6NRJAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGI4DKMZRGI>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096421390,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ATVFNVFYO7NQHSCR5WJDTUDZA6UFLAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGQZDCMZZGA>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096535863, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQVVHYCM7HFUO2HCZ5KK6DZA63RPAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGUZTKOBWGM . You are receiving this because you commented.Message ID: @.***>

holger1414 commented 6 months ago

Tested with several admin logins. No luck :(

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 23:28:

In case you can run the app with the 'ora2mqtt run' command and it does not yield an error, I think it has to be related to your MQTT broker/config. Is the user you sign in allowed to publish on the GWM/ root topic?

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 19:19:

Unfortunately nothing... All I can think of, is my app is for baltic market and can not get anything from DE or UK servers. Kinda obvious, but was hoping :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 19:16:

I assume it's something in the configuration of your MQTT broker. Try to listen to GWM/# an try to play around with your config. Hard to tell from remote.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 17:19:

Configuration successful! However, I see no relevant traffic in mMQTT Explorer. What might be the problem now?

It connects to the broker.

2024-05-06 18:13:35: New client connected from 192.168.1.66:49965 as 0650ede2164048b8a95d2c231c7ef984 (p2, c1, k15, u'MQTTmaakler'). 2024-05-06 18:14:13: Client 0650ede2164048b8a95d2c231c7ef984 closed its connection.

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 17:44:

Try 'ora2mqtt.exe configure'. Just omit the dash. Same for the 'run' command.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 16:30:

Thank you for the steps!

I downloaded the

https://github.com/zivillian/ora2mqtt/releases/download/v0.0.1/ora2mqtt-win-x64.zip

Extracted everything and tried the command in administrator command prompt. I get the following error:

============== C:\Users\Holger\Downloads\ora2mqtt-win-x64>ora2mqtt.exe -configure config file (onfigure) missing

Now what?

(I sent some beer/coffe money your way!! :)

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 14:05:

Which operating system do you intend to use? Here is the general basic steps you need to take:

  1. Make sure you have an account for the Ora App on your mobile device.

  2. Download the binaries for the ora2mqtt app.

  3. Run the 'ora2mqtt(.exe) -configure' command from the binaries.

  4. Input your credentials from the account (and MQTT server if applicable). The configure command should complete successfully (you need to input a PIN which you receive on the email address of your account).

  5. On windows: Now simply run the 'ora2mqtt.exe -i 30 -run' command.

The app will disconnect after a while (hours/days). You should wrap it in a batch file on windows to restart after every disconnect as a workaround for now.

On Linux: Follow the steps described in the README.md of this repo.

holger1414 @.***> schrieb am Mo., 6. Mai 2024, 08:07:

My aim is to integrate Ora data to Home assistant. As I understand it, your command line application needs to poll the cloud service and needs certs.

I have large setup and have been able to integrate quite a lot, but this one is hard :)

Thank you for your patience!

Kontakt GratefulUser1 @.***>) kirjutas kuupäeval E, 6. mai 2024 kell 08:55:

You don't need to when you only want to use the application.

holger1414 @.***> schrieb am So., 5. Mai 2024, 16:04:

More questions, if you don't mind :) You state: "The certificate is stored locally on the device and can be read when the flag has been set.android:debuggable"

How do I do that?

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2094821884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH5WGO33Z4QMZGOIMPDZAY37DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHAZDCOBYGQ>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095244173>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVCJEETKRPCMISUWFQLZA4LOXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2DIMJXGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095255570>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH6G7LFXDJHUL4TEC53ZA4M3DAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TKNJXGA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2095755347>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVDBBUN2UXNMIVSGR6TZA5PX3AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVG42TKMZUG4>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096177643>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH2UUQTZNFSW5SOLAZ3ZA6HZ5AVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGE3TONRUGM>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096205514>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVAAQUJBP7AF3XOHPJTZA6JLTAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGIYDKNJRGQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096285312>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BBQVVH2GCU5L4YJWMC3OHGTZA6NRJAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGI4DKMZRGI>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096421390>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ATVFNVFYO7NQHSCR5WJDTUDZA6UFLAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGQZDCMZZGA>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096535863,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BBQVVHYCM7HFUO2HCZ5KK6DZA63RPAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGUZTKOBWGM>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2096848736, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVCCHD3GFVV7KXQP5D3ZA7RVXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWHA2DQNZTGY . You are receiving this because you authored the thread.Message ID: @.***>

zivillian commented 6 months ago

All I can think of, is my app is for baltic market and can not get anything from DE or UK servers.

This is something I can try to look into:

holger1414 commented 6 months ago

Hi!

I am using "My GWM" app. My GWM – Rakendused Google Plays https://play.google.com/store/apps/details?id=com.gwm.eu Developer is Great Wall Motor Deutschland GmbH, so probably/hopefully using the same "framework". As mentioned earlier, command line app config is successfully created. I tried both DE and UK.

As I am very interested in successful integration I would share my car gladly, but could you explain your action plan?

Thank you for not giving up!! :D

Kontakt zivillian @.***>) kirjutas kuupäeval T, 28. mai 2024 kell 20:18:

All I can think of, is my app is for baltic market and can not get anything from DE or UK servers.

This is something I can try to look into:

  • Which App are you using? This is all based on the com.ora.germany app.
  • Which country have you selected for your account?
  • Would you be able to share your car with me?

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2135754323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVHLVJ7HR4KANNOAAHLZES34RAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVG42TIMZSGM . You are receiving this because you authored the thread.Message ID: @.***>

peerapon01 commented 6 months ago

@holger1414 @zivillian maybe you can try changing region in subdomain in H5HttpClientName and AppHttpClientName and all other place that mentioned about base url. (eu-xx-gateway) For my case. I'm using My GWM app in Asia. it need to be ap-h5-gateway and ap-app-gateway to make this working.

you can try to monitoring the app url by simply proxy the request. only getting corrent subdomain is enough

zivillian commented 6 months ago

I've found and analyzed the com.gwm.eu app and it also contains a list of endpoints, but as far as I can tell the app is also using the eu-app-gateway and eu-h5-gateway endpoints.

@peerapon01 do you want to use this project in asia and need the URL to be part of the config? If so it would be great if you could create a separate issue. This change shouldn't be too complicated.

zivillian commented 6 months ago

@holger1414 I've added Estonia (I hope this is the correct country) to the list of countries to select from - it's more a wild guess right now, but could you test the binaries from the PR and check if they work for you?

holger1414 commented 6 months ago

Configuration again successful. image After run I see these lines in Broker log:

2024-05-29 21:35:41: New client connected from 192.168.1.239:53218 as e3ffdaf6e8504fa296516c0cd104f341 (p2, c1, k15, u'gwm').

Broker account must be alright, as I can log in with the same credentials using MQTTexplorer and publish gwm/test

image

Kontakt zivillian @.***>) kirjutas kuupäeval K, 29. mai 2024 kell 21:08:

@holger1414 https://github.com/holger1414 I've added Estonia to the list of countries to select from - it's more a wild guess right now, but could you test the binaries from the PR https://github.com/zivillian/ora2mqtt/actions/runs/9290845487#artifacts and check if they work for you?

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2137988588, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVCYGFFFDRSYHJ7P7N3ZEYKSXAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXHE4DQNJYHA . You are receiving this because you were mentioned.Message ID: @.***>

zivillian commented 6 months ago

do you get any error message from ora2mwtt?

holger1414 commented 6 months ago

Only output is after ctrl-C, but this probably is not relevant.

C:\Users\vagak\Downloads\ora2mqtt-win-x64>ora2mqtt.exe run
System.OperationCanceledException: The operation was canceled.
   at System.Threading.PeriodicTimer.State.Signal(Boolean stopping, CancellationToken cancellationToken)
   at System.Threading.PeriodicTimer.State.<>c.<WaitForNextTickAsync>b__6_0(Object state, CancellationToken cancellationToken)
   at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source)
   at System.Threading.CancellationTokenSource.CallbackNode.ExecuteCallback()
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
   at System.Threading.CancellationTokenSource.NotifyCancellation(Boolean throwOnFirstException)
   at System.Threading.CancellationTokenSource.Cancel()
   at Program.<>c__DisplayClass0_0.<<Main>$>b__0(Object s, ConsoleCancelEventArgs e) in /home/runner/work/ora2mqtt/ora2mqtt/ora2mqtt/Program.cs:line 17
   at System.Console.HandlePosixSignal(PosixSignalContext ctx)
   at System.Runtime.InteropServices.PosixSignalRegistration.HandlerRoutine(Int32 dwCtrlType)
--- End of stack trace from previous location ---
   at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
   at ora2mqtt.RunCommand.Run(CancellationToken cancellationToken) in /home/runner/work/ora2mqtt/ora2mqtt/ora2mqtt/RunCommand.cs:line 43
   at Program.<Main>$(String[] args) in /home/runner/work/ora2mqtt/ora2mqtt/ora2mqtt/Program.cs:line 23
zivillian commented 6 months ago

Thanks for testing - I'll add a debug switch (but it may take a few days). It would be great if you could then test again.

holger1414 commented 6 months ago

Great! Will do.

On Wed, May 29, 2024, 23:32 zivillian @.***> wrote:

Thanks for testing - I'll add a debug switch (but it may take a few days). It would be great if you could then test again.

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2138216253, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVA6GC7DJVA4M6PCQXDZEY3PRAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZYGIYTMMRVGM . You are receiving this because you were mentioned.Message ID: @.***>

zivillian commented 6 months ago

I've added a debug switch (ora2mqtt run -d) and built new binaries - can you test again? Please be aware that it will log a lot of details including sensitive data - so please check twice before uploading you log.

holger1414 commented 6 months ago

Let it run for a minute. Log was longer, but content was repeating. I am posting the beginning with stripped sensitive info.

C:\Users\vagak\Downloads\ora2mqtt-win-x64>ora2mqtt run -d
dbug: ora2mqtt.Logging.MqttLogger[0]
      Trying to connect with server '192.168.1.113:1883'
dbug: ora2mqtt.Logging.MqttLogger[0]
      Connection with server established
dbug: ora2mqtt.Logging.MqttLogger[0]
      TX (56 bytes) >>> Connect: [ClientId=-del-] [Username=gwm] [Password=****] [KeepAlivePeriod=15] [CleanSession=True]
dbug: ora2mqtt.Logging.MqttLogger[0]
      RX (4 bytes) <<< ConnAck: [ReturnCode=ConnectionAccepted] [ReasonCode=Success] [IsSessionPresent=False]
dbug: ora2mqtt.Logging.MqttLogger[0]
      Authenticated MQTT connection with server established.
info: ora2mqtt.Logging.MqttLogger[0]
      Connected
dbug: ora2mqtt.Logging.MqttLogger[0]
      Start receiving packets.
dbug: ora2mqtt.Logging.MqttLogger[0]
      Start sending keep alive packets.
info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-h5-gateway.gwmcloud.com/app-api/api/v1.0/user/getUserBaseInfo
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      language: en
      systemType: 1
      country: EE
      accessToken: 

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 351.1021ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      Date: Thu, 30 May 2024 18:40:33 GMT
      Connection: keep-alive
      X-Response-Default-Foo: Default-Bar
      Content-Type: application/json; charset=UTF-8
      Content-Length: 499

info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-app-gateway.gwmcloud.com/app-api/api/v1.0/vehicle/acquireVehicles
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      country: EE
      accessToken=-del-

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 288.6942ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      X-Response-Default-Foo: Default-Bar
      Date: Thu, 30 May 2024 18:40:33 GMT
      Content-Type: application/json
      Content-Length: 51

info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-h5-gateway.gwmcloud.com/app-api/api/v1.0/user/getUserBaseInfo
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      language: en
      systemType: 1
      country: EE
      accessToken=-del-

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 180.4725ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      Date: Thu, 30 May 2024 18:40:43 GMT
      Connection: keep-alive
      X-Response-Default-Foo: Default-Bar
      Content-Type: application/json; charset=UTF-8
      Content-Length: 499

info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-app-gateway.gwmcloud.com/app-api/api/v1.0/vehicle/acquireVehicles
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      country: EE
      accessToken=-del-

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 151.7023ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      X-Response-Default-Foo: Default-Bar
      Date: Thu, 30 May 2024 18:40:43 GMT
      Content-Type: application/json
      Content-Length: 51

dbug: ora2mqtt.Logging.MqttLogger[0]
      TX (2 bytes) >>> PingReq
dbug: ora2mqtt.Logging.MqttLogger[0]
      RX (2 bytes) <<< PingResp
info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-h5-gateway.gwmcloud.com/app-api/api/v1.0/user/getUserBaseInfo
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      language: en
      systemType: 1
      country: EE
      accessToken=-del-

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 167.7036ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      Date: Thu, 30 May 2024 18:40:53 GMT
      Connection: keep-alive
      X-Response-Default-Foo: Default-Bar
      Content-Type: application/json; charset=UTF-8
      Content-Length: 499

info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-app-gateway.gwmcloud.com/app-api/api/v1.0/vehicle/acquireVehicles
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      country: EE
      accessToken=-del-

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 148.2003ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      X-Response-Default-Foo: Default-Bar
      Date: Thu, 30 May 2024 18:40:53 GMT
      Content-Type: application/json
      Content-Length: 51

info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-h5-gateway.gwmcloud.com/app-api/api/v1.0/user/getUserBaseInfo
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      language: en
      systemType: 1
      country: EE
      accessToken=-del-

dbug: ora2mqtt.Logging.MqttLogger[0]
      TX (2 bytes) >>> PingReq
dbug: ora2mqtt.Logging.MqttLogger[0]
      RX (2 bytes) <<< PingResp
info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 157.5298ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      Date: Thu, 30 May 2024 18:41:03 GMT
      Connection: keep-alive
      X-Response-Default-Foo: Default-Bar
      Content-Type: application/json; charset=UTF-8
      Content-Length: 499

info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-app-gateway.gwmcloud.com/app-api/api/v1.0/vehicle/acquireVehicles
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      country: EE
      accessToken=-del-

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 202.9082ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      X-Response-Default-Foo: Default-Bar
      Date: Thu, 30 May 2024 18:41:03 GMT
      Content-Type: application/json
      Content-Length: 51

info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-h5-gateway.gwmcloud.com/app-api/api/v1.0/user/getUserBaseInfo
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      language: en
      systemType: 1
      country: EE
      accessToken=-del-

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 164.3416ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      Date: Thu, 30 May 2024 18:41:13 GMT
      Connection: keep-alive
      X-Response-Default-Foo: Default-Bar
      Content-Type: application/json; charset=UTF-8
      Content-Length: 499

info: System.Net.Http.HttpClient[100]
      Sending HTTP request GET https://eu-app-gateway.gwmcloud.com/app-api/api/v1.0/vehicle/acquireVehicles
trce: System.Net.Http.HttpClient[102]
      Request Headers:
      rs: 2
      terminal: GW_APP_ORA
      brand: 3
      country: EE
      accessToken=-del-

info: System.Net.Http.HttpClient[101]
      Received HTTP response headers after 157.0231ms - 200
trce: System.Net.Http.HttpClient[103]
      Response Headers:
      X-Response-Default-Foo: Default-Bar
      Date: Thu, 30 May 2024 18:41:13 GMT
      Content-Type: application/json
      Content-Length: 51
zivillian commented 6 months ago

this looks like we also need to log the response body (at least for getUserBaseInfo and acquireVehicles)

holger1414 commented 6 months ago

Yes, I agree.

On Fri, May 31, 2024, 00:30 zivillian @.***> wrote:

this looks like we also need to log the response body (at least for getUserBaseInfo and acquireVehicles)

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2140893832, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVDQAPQR32QJM33FZMLZE6K5ZAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBQHA4TGOBTGI . You are receiving this because you were mentioned.Message ID: @.***>

zivillian commented 3 months ago

I've added the responses to the log output - can you test again with the new binaries?

holger1414 commented 3 months ago

It is already working very well! I tried again after your recent update (GWM backend update) expecting the same result, but everything started woking. I would say, that I did everything exactly as before. :)

Thank you! Lets hope they will not break things too often ;)

Kontakt zivillian @.***>) kirjutas kuupäeval L, 10. august 2024 kell 18:29:

I've added the responses to the log output - can you test again with the new binaries https://github.com/zivillian/ora2mqtt/actions/runs/10332649136#artifacts ?

— Reply to this email directly, view it on GitHub https://github.com/zivillian/ora2mqtt/issues/12#issuecomment-2282186438, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVFNVCJVWJYXK642OPCLELZQYWVHAVCNFSM6AAAAABHG7HCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSGE4DMNBTHA . You are receiving this because you were mentioned.Message ID: @.***>

zivillian commented 3 months ago

That's great!