attiny onewire

I'm trying to make a dallas temperature sensor to work with an ATtiny but have no clue why it is not working. I used examples from others that have it working, but for me...nothing.

so I made a small piece of code to check if the sensor is there at all at pin PB0 (with 4k7 resistor) of the ATtiny.

#include <SoftwareSerial.h>
#include <OneWire.h>


SoftwareSerial mySerial(3,4);
OneWire ow(5);

  uint8_t address[8];
      
void setup() {
  pinMode(1, OUTPUT);
  ow.reset();
  mySerial.begin(9600);
  mySerial.println("one wire test");
  delay(1000);
}

void loop() {
  mySerial.println("starting.....");
    
  if (ow.search(address)) {
      mySerial.println("device found");
      digitalWrite(1, HIGH);
      delay(2500);
      digitalWrite(1, LOW);
  } else {
    mySerial.println("no device found");
      digitalWrite(1, HIGH);
      delay(250);
      digitalWrite(1, LOW);
  }
  ow.reset_search();
  delay(1000);
}

and get no result. With a scope I check PB0 and see nothing happening on the line...
what could be wrong?

Which ATtiny? There are dozens of types.

Which Tiny core are you using?

what could be wrong?

Hardware, software, anything as you didn't provide the necessary information we don't know. Post a wiring diagram. In my interpretation of your wiring description you wired wrongly.