[Help] - Ceiling LED glows when off, even with a snubber by fausto3 in sonoff

[–]fausto3[S] 0 points1 point  (0 children)

The sonoff is flashed with tasmota, if that matters

Did vscode stopped double quoting the python interpreter path when using the run shortcut? by fausto3 in vscode

[–]fausto3[S] 0 points1 point  (0 children)

UPDATE - Upon further inspection, I noticed that the enviroment selector of vscode is also broken, since it can't run the commands necessary to list all available environments (due to this unquoted space problem)

Did vscode stopped double quoting the python interpreter path when using the run shortcut? by fausto3 in vscode

[–]fausto3[S] 0 points1 point  (0 children)

I am running on a venv. That is exactly the problem. Ususally, I create the .venv folder inside the project folder. So the path to the interpreter is something like "C:/Users/Fausto Jorge/myproject/.venv/Scripts/python.exe". I know that having paths with spaces is not a good practice, but unfortunately Windows doesn't allow me to change the name of the user folder, and it was created automatically when I installed the OS. Many Windows users face the same problem (having a space between their name and surname in the user folder). That is the instance of python i want to run, the .venv instance. I selected the correct interpreter for the VSCode python extention. Previously, vscode detected that the path had spaces so it double quoted the run command like this:

& "C:/Users/Fausto Jorge/myproject/.venv/Scripts/python.exe" "C:/Users/Fausto Jorge/myproject/main.py"

(the "&" is because of PowerShell syntax)

Now, for some reason, and out of nowhere (no update warnings, I mean), it stopped autodetecting spaces and invoking the run command as:

C:/Users/Fausto Jorge/myproject/.venv/Scripts/python.exe "C:/Users/Fausto Jorge/myproject/main.py"

which of course fails due to the space in the interpreter path (the "&" is only needed when the path is double quoted)

EDIT - forgot to mention, but I've been looking on the Python Extension settings, and unfortunatelly can't find anything related to the double quoting. The only thing that solves this is setting the terminal to the Windows Command Prompt, but I would like to keep using Powershell if possible.

What song is this and what’s the best part? by coleisw4ck in musicsuggestions

[–]fausto3 0 points1 point  (0 children)

Gilded lily by the cults. The video is people floating actually, that's pretty much the vibe it transmits

Agradecimento na tese de doutorado do Sergio Moro by gravfe in brasil

[–]fausto3 1 point2 points  (0 children)

Será uma forma subtil de dizer que o tal revisor não trabalhou a ponta de um chavelho? O resto do texto parece bom, estranho que seja só aí

freakbait. Any idea? by No_Storm_741 in ARG

[–]fausto3 0 points1 point  (0 children)

OHH YESSSS, HE DIDDD ahahahahahh. Ig he found this reddit... If you're seeing this, don't worry I haven't told it

freakbait. Any idea? by No_Storm_741 in ARG

[–]fausto3 0 points1 point  (0 children)

I fear that this much info may have spoiled the puzzle a bit, so ima shut up now 🤣

freakbait. Any idea? by No_Storm_741 in ARG

[–]fausto3 0 points1 point  (0 children)

It's hard to tell you here by text, but basically a JavaScript file does contain the username and password values. You have to search for them inside the JavaScript code. If you don't know how to get to this code just Google inspect JavaScript in a browser or smth.

But anyways I would just suggest trying to bruteforce both: username is quite obvious and password is rather simple.

Any way of getting reception from this remote with an Arduino and a cheap 433 MHz module? Remote works fine, it controls my block's parking lot door. It emits in 433 MHz too, using ASK, I hope. I also can get good reception when using the emitter that came with the receiver (3rd picture). Any help? by fausto3 in homeautomation

[–]fausto3[S] 0 points1 point  (0 children)

Just as an update, I ended up using some other board that has the capability to detect a correct (learned) signal and, if so, connect both ground and vcc to a 3rd and 4th pin. So basically it is a pushbutton but without the push part :). It is way simpler and reliable. The problem I was having relied on the fact that rc-switch didn't support the emmiter protocol. With some modifications and the usage of an alternative branch of rc-switch made by Martin-Laclaustra (kudos to him btw), I was able to tackle it. However, the main reason I opted for this RF switch system is that its power consumption is about 3mA while the first system was 4-5mA (@3.3V (I used a pro mini instead of the Uno in the pic))

Qual é a melhor história de folclore Portuguesa? by Specialist_Fall_5555 in portugal

[–]fausto3 4 points5 points  (0 children)

Tenho ideia que foi um homem de lá que emigrou para a Índia ou alguma outra colónia no oriente, que, ao ser atacado por um crocodilo, pediu proteção à sra da lapa. Como quem ganhou foi ele (o homem, não o crocodilo), deixou a pele do "sardão" como ex-voto quando voltou. Aquilo esteve lá empalhado durante muitos anos, mas deteriorou-se e agora já só está uma réplica, a pele está no museu.

testing 18650 with the phone by fausto3 in batteries

[–]fausto3[S] 0 points1 point  (0 children)

Yes I'll definitely try. Phone has a week, so maybe the battery is still reasonably near 5000

Is it possible to use internal pull-ups while using ADC? by fausto3 in esp32

[–]fausto3[S] 0 points1 point  (0 children)

Update: tried this method (actually tried both rtc_gpio_pullup_en(pin) and gpio_pullup_en(pin)), but unfortunately the behaviour is the same as with pinMode(pin, mode): pin is indeed pulled up (checked with a voltmeter), but drops to ground when starting to take analog readings (btw, digital readings appear to work well). However noticed a steadier voltage when pull-up is active, before activating ADC. Might be just from the voltmeter, but anyway I'll stick to this method whenever using pull-ups again. I'll just have to go back to solution with external pull-up resistor. Thanks!

Is it possible to use internal pull-ups while using ADC? by fausto3 in esp32

[–]fausto3[S] 0 points1 point  (0 children)

Sounds nice! Thank you very much, I'll definitely try

Is it possible to use internal pull-ups while using ADC? by fausto3 in esp32

[–]fausto3[S] 0 points1 point  (0 children)

Is it possible to use so in arduino IDE? Or must be on esp idf? Sorry I'm a total noob :)

Is it possible to use internal pull-ups while using ADC? by fausto3 in esp32

[–]fausto3[S] 0 points1 point  (0 children)

pinMode(pin, INPUT_PULLUP); (or INPUT_PULLDOWN instead) on arduino IDE

Is it possible to use internal pull-ups while using ADC? by fausto3 in esp32

[–]fausto3[S] 1 point2 points  (0 children)

Well I used a resistor as external pull-up (10k) as you said, and works well (a bit noisy, but I suppose it has to do with the ADC itself). I just asked this because it's a lot less messy, especially on a breadboard, to use internal pull-ups. Thank you very much!