Automate checking whether the Pinecil is still in stock
#3
Hi. I'm not a python programmer. But I made a couple of small changes for Linux.

up the top put the following for direct execution. Assuming that's where you can find your python
Code:
#!/usr/bin/python3

and this down the bottom. replacing firefox with xdg-open to be a little more generic:
Code:
os.system("xdg-open "+url)

In my case it opens a tab in chromium because it's my default browser.

don't forget to chmod +x checkPinecil.py if you want to run the file directly.

e: Thanks again for posting. I just got the basics of your program running in MicroPython on an eap32. So I now have the basis of a standalone in-stock alert.
  Reply


Messages In This Thread
RE: Automate checking whether the Pinecil is still in stock - by ImmortanJoe - 02-01-2021, 08:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinecil low temp mods? davidcoley 0 299 06-21-2026, 02:53 AM
Last Post: davidcoley
  my pinecil v2 is not working jagrav 0 747 04-17-2026, 06:28 AM
Last Post: jagrav
  Pinecil V2 doesn’t power on under any circumstances BigCarrotLeaf 1 2,664 03-28-2026, 02:37 AM
Last Post: Juptin
  Pinecil v2: Use car battery for power? FZB 0 747 03-02-2026, 09:56 AM
Last Post: FZB
  Is Vector3d.shop a legitimate pinecil reseller? jamespo 0 1,154 12-03-2025, 07:40 AM
Last Post: jamespo
  Minimum temperature Pinecil pschalkwijk 1 1,399 10-16-2025, 10:40 PM
Last Post: tllim
  Pinecil v2 not reaching 20v … Escape75 0 4,527 09-23-2025, 09:25 PM
Last Post: Escape75
  Pinecil v2 tip screw temperature Minuen 0 9,324 06-23-2025, 06:38 AM
Last Post: Minuen
  Crippling noise from inside pinecil during a few minutes high power soldering. dreieck 3 5,583 05-15-2025, 10:41 AM
Last Post: dreieck
  Pinecil v2 issue autumnharris 0 1,601 05-15-2025, 01:35 AM
Last Post: autumnharris

Forum Jump:


Users browsing this thread: 1 Guest(s)