just4give / helium-dyi-hotspot-balena-pi4

84 stars 29 forks source link

REGION EU868 #13

Open markante opened 3 years ago

markante commented 3 years ago

Hi. I added the Environment variable for EU868 but "miner info region" shows me "US915". Any idea what is going wrong or how I can change it ?

just4give commented 3 years ago

Can you please SSH into "gateway" from Balena dashboard and see the value of "REGION" variable ? It reads from environment variable in this code https://github.com/just4give/helium-dyi-hotspot-balena-pi4/blob/master/pigateway/run.py#L8 .If it does not find the variable, defaults to US915

markante commented 3 years ago

Thank you for the quick answer. What comand do I use to get the REGION in the gateway ? info region does not work in the gateway service

just4give commented 3 years ago

Sorry , I thought you are talking about gateway region. For miner , you need to change this line https://github.com/just4give/helium-dyi-hotspot-balena-pi4/blob/master/docker-compose-template.yml#L18

markante commented 3 years ago

Thank you. I just read something that it is not possible to get HNT with diy miners anymore... Is that true ? Or where do I get the Ids ?

just4give commented 3 years ago

Can u pls share the link? I am not actively following helium discord channel lately.

markante commented 3 years ago

Its a comment below that video: https://www.youtube.com/watch?v=yrA2iY9KmVw And here it is explained: Helium did it because of people hacking the POC Concept: https://hntnews.org/poc-hacking-explained/

Regarding the Region: I exchanged the the lines in docker-compose-template.yml and pigateway/run.py from US915 to EU868. And ran the installion again. But if I ssh into miner I get miner info region US915. Any idea ? Thank you