bemasher / rtlamr-collect

Data aggregation for rtlamr.
GNU Affero General Public License v3.0
171 stars 29 forks source link

Where to set envinronment variables (Using Windows) #36

Closed ricardolca closed 2 years ago

ricardolca commented 2 years ago

Hello, thank you for the great work you have done with both rtlamr and rtlamr-collect.

I was reading the documentation, and it is clear that we should use the enironment files to configure some parameters, like the host for the influx DB.

However, I am running rtlamr and rtlamt-collect on windows and I am unsure where should I place these files *.env.

Could you kindly assist on this info?

Thank you

ricardolca commented 2 years ago

Thank you, I just figured it out...You can type direct on the command prompt or using a bat file.

Example, type on command prompt set RTLAMR_FILTERID=00000000, where 00000000 is your meter number.

Thanks!

cypherstream commented 2 years ago

Thanks, here I was trying to put them in user variables and when that didnt work system variables and neither worked... This was in sysdm.cpl (System Properties > Advanced > Environment Variables button.